diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-27T17·41+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-06T07·29+0000 |
commit | 3089e46eb12b0648a8c564836a660b87c5200a65 (patch) | |
tree | 081b30189e1f868a5032cbbe8a670cde9bbbe48a /tvix/eval/src/main.rs | |
parent | e646d5170c7c1b651449966a53d0a955779d3f98 (diff) |
refactor(tvix/eval): encapsulate internal mutability within Closure r/4651
This is required to efficiently construct the upvalue array at runtime, as there are situations where during Closure construction multiple things already have a reference to the closure (e.g. a self-reference). Change-Id: I35263b845fdc695dc873de489f5168d39b370f6a Reviewed-on: https://cl.tvl.fyi/c/depot/+/6312 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/main.rs')
0 files changed, 0 insertions, 0 deletions