diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-03-04T13·24+0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-02-17T14·54+0200 |
commit | 7e0360504d1a964ad5bd0da996045bc3868d0d7d (patch) | |
tree | c86de80ed19930296fc11ec09ae341965f31bcd7 /src/libexpr/eval.cc | |
parent | 0845cdf9443a6b304c1bcec304a462ae4995c744 (diff) |
libexpr: Optimize prim_derivationStrict by using more symbol comparisons
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 48542d8e5006..2144d3452579 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -294,6 +294,10 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store) , sWrong(symbols.create("wrong")) , sStructuredAttrs(symbols.create("__structuredAttrs")) , sBuilder(symbols.create("builder")) + , sArgs(symbols.create("args")) + , sOutputHash(symbols.create("outputHash")) + , sOutputHashAlgo(symbols.create("outputHashAlgo")) + , sOutputHashMode(symbols.create("outputHashMode")) , repair(NoRepair) , store(store) , baseEnv(allocEnv(128)) |