about summary refs log tree commit diff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-03-31T16·14+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-03-31T16·14+0000
commit55e207b2dc43e426bd0dfbc2065b8853a1fc59b0 (patch)
tree435a8dd5a321b4ac503e47ef011033d36bc543ab /src/libexpr/eval.hh
parent3d94be61ea562dea2098b6570f711386179913ef (diff)
* Cache parse trees to prevent repeated parsing of imported Nix
  expressions.

Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index eba97dd73756..7369892fbccd 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -135,6 +135,8 @@ private:
 
     bool allowUnsafeEquality;
 
+    ATermMap parseTrees;
+
 public:
     
     EvalState();