From f491ae97d472bfd6305a8f3e8c58fac1fdc443a4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 4 Feb 2012 13:50:25 +0000 Subject: * 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). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libexpr/primops.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libexpr/primops.cc') diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index bdf8dddca8b9..4a171a2aeb4f 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -6,6 +6,7 @@ #include "archive.hh" #include "value-to-xml.hh" #include "names.hh" +#include "eval-inline.hh" #include #include -- cgit 1.4.1