* Use std::tr1::unordered_set instead of std::set for the symbol
table. This gives a 10% speed increase on `nix-instantiate /etc/nixos/nixos -A system --readonly-mode'.
This commit is contained in:
@@ -1058,6 +1058,7 @@ void EvalState::printStats()
|
||||
printMsg(v, format(" stack space per eval() level: %1% bytes") % ((&x - deepestStack) / (float) maxRecursionDepth));
|
||||
printMsg(v, format(" values allocated: %1%") % nrValues);
|
||||
printMsg(v, format(" environments allocated: %1%") % nrEnvs);
|
||||
printMsg(v, format(" symbols in symbol table: %1%") % symbols.size());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user