diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-02-04T13·50+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-02-04T13·50+0000 |
commit | f491ae97d472bfd6305a8f3e8c58fac1fdc443a4 (patch) | |
tree | e78fed9caf2450915214144f20dd976202d7d1a3 /src/nix-instantiate | |
parent | 2bda12ef3b2b1d9a0fc59324d723e3fa883ab223 (diff) |
* Inline some functions and get rid of the indirection through
EvalState::eval(). This gives a 12% speedup on ‘nix-instantiate /etc/nixos/nixos/ -A system --readonly-mode’ (from 1.01s to 0.89s).
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index 93aa50943450..8f3a290f3a6a 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -1,6 +1,7 @@ #include "globals.hh" #include "shared.hh" #include "eval.hh" +#include "eval-inline.hh" #include "get-drvs.hh" #include "attr-path.hh" #include "value-to-xml.hh" |