272db8af1b
This does not add missing release notes, and it doesn't do anything about the profiles feature we would really like to have so we can have consistent credit. Change-Id: I72a6f7acfcff85f380be17dac76501a6f4693776
442 B
442 B
synopsis | prs | category | credits |
---|---|---|---|
`inherit (x) ...` evaluates `x` only once | 9847 | Fixes | horrors |
inherit (x) a b ...
now evaluates the expression x
only once for all inherited attributes rather than once for each inherited attribute.
This does not usually have a measurable impact, but side-effects (such as builtins.trace
) would be duplicated and expensive expressions (such as derivations) could cause a measurable slowdown.