diff options
author | Théophane Hufschmitt <regnat@users.noreply.github.com> | 2021-12-21 08:50:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 08:50:29 +0100 |
commit | de273bbff2722c8abd134ddffd69e457a3938056 (patch) | |
tree | 426d9a6c71141f027316e3aba1e408fb6f0b2865 /src/libexpr/eval.hh | |
parent | 6e6e998930f0d7361d64644eb37d9134e74e8501 (diff) | |
parent | 09b245690a9ab40847e3faa96646e4bd6ce033e0 (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.hh | 3 |
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( |