1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

Deduplicate filenames in Pos

This saves ~4 MiB of RAM for NixOS system instantiation, and ~18 MiB
for "nix-env -qa".
This commit is contained in:
Eelco Dolstra 2013-10-08 15:19:59 +02:00
parent b1e3b1a4ac
commit 9deb822180
3 changed files with 7 additions and 6 deletions

View file

@ -636,7 +636,6 @@ void ExprSelect::eval(EvalState & state, Env & env, Value & v)
if (state.countCalls && pos) state.attrSelects[*pos]++;
}
state.forceValue(*vAttrs);
} catch (Error & e) {