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:
parent
adaf64a99b
commit
35f2a6ba82
3 changed files with 23 additions and 24 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue