aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorThéophane Hufschmitt <regnat@users.noreply.github.com>2021-12-21 08:50:29 +0100
committerGitHub <noreply@github.com>2021-12-21 08:50:29 +0100
commitde273bbff2722c8abd134ddffd69e457a3938056 (patch)
tree426d9a6c71141f027316e3aba1e408fb6f0b2865 /src/libexpr/eval.hh
parent6e6e998930f0d7361d64644eb37d9134e74e8501 (diff)
parent09b245690a9ab40847e3faa96646e4bd6ce033e0 (diff)
Merge pull request #5809 from pennae/small-perf-improvements
small perf improvements
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 1aab8e166..cc63294c6 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -133,6 +133,9 @@ private:
/* Cache used by prim_match(). */
std::shared_ptr<RegexCache> regexCache;
+ /* Allocation cache for GC'd Value objects. */
+ void * valueAllocCache = nullptr;
+
public:
EvalState(