Float out ExprSelect
to larger scope
#9592
Labels
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.
Current evaluator performance slightly favors
instead of
Actually writing out the
let
binding can be perceived as a chore, and having to think about it, or ask for it inlib
maintenance is not ideal.Describe the solution you'd like
Perhaps perform this transformation behind the scenes.
In some cases, the transformation may be a clear win. What would be the algorithm that determines this? Is it fast enough to perform eagerly?
Describe alternatives you've considered
Keep operational semantics as is. Memory use will be slightly more predictable. File loading remains fast. Code remains simple.
Additional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: