1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 21:01:16 +02:00

* Don't use dynamic_cast, it's very slow. "nix-instantiate

/etc/nixos/nixos -A system" spent about 10% of its time in
  dynamic_cast.
This commit is contained in:
Eelco Dolstra 2012-01-04 21:24:11 +00:00
parent adaf64a99b
commit 35f2a6ba82
3 changed files with 23 additions and 24 deletions

View file

@ -346,8 +346,6 @@ public:
void mkAttrs(Value & v, unsigned int expected);
void mkThunk_(Value & v, Expr * expr);
Value * maybeThunk(Env & env, Expr * expr);
/* Print statistics. */
void printStats();