builtins.filterAttrs
#11888
Labels
error-messages
Confusing messages and better diagnostics
feature
Feature request or proposal
language
The Nix expression language; parser, interpreter, primops, evaluation, etc
performance
Is your feature request related to a problem? Please describe.
lib.filterAttrs
allocates a list of attribute names twice.filterAttrs
is called every timeattrsOf
produces a value, and it needs to, because ofmkIf
.Plenty of other usages exist.
Describe the solution you'd like
Add
builtins.filterAttrs
with the same behavior.Side benefit: stack traces will be slightly shorter without losing info.
Describe alternatives you've considered
Additional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: