about summary refs log tree commit diff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2012-01-04T21·24+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2012-01-04T21·24+0000
commit35f2a6ba82419d48ed8ebce7b8c3e74e65ac74f2 (patch)
treeeae7ae96104e0d68de31efa9a31a9d75b8c05129 /src/libexpr/eval.hh
parentadaf64a99b0a882249e35768c3f4fe3de104cbb2 (diff)
* 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.

Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 694d4407b847..1db3453f395c 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -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();