mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Move empty attrset optimisation
This commit is contained in:
parent
ca5baf2392
commit
17daec0b83
3 changed files with 5 additions and 8 deletions
|
@ -413,6 +413,7 @@ EvalState::EvalState(
|
|||
, sSelf(symbols.create("self"))
|
||||
, sEpsilon(symbols.create(""))
|
||||
, repair(NoRepair)
|
||||
, emptyBindings(0)
|
||||
, store(store)
|
||||
, buildStore(buildStore ? buildStore : store)
|
||||
, regexCache(makeRegexCache())
|
||||
|
@ -454,8 +455,6 @@ EvalState::EvalState(
|
|||
}
|
||||
}
|
||||
|
||||
vEmptySet.mkAttrs(allocBindings(0));
|
||||
|
||||
createBaseEnv();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue