diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-27T16·55+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-04T17·53+0000 |
commit | 932a70d0c25a3d7b8cfb31788348e850648e2aa1 (patch) | |
tree | 867c9c42124ca14f002f422caf6150125898b98a /rustfmt.toml | |
parent | 2cd08d136e2a87bbaecbebd5e42216d7e5256906 (diff) |
refactor(tvix/eval): track with stack size as a simple integer r/4643
The `With` struct no longer contained any internals after the cleanup logic for the stack had been moved into Compiler::compile_with, leaving the `Vec<With>` to essentially act as a counter for the number of things on the with stack. That's inefficient of course, so with this commit it actually becomes an integer (with an encapsulated API within scope::Scope). Change-Id: I67a00987fc8b46b30d369a96d41e83c8af5b1998 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6311 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'rustfmt.toml')
0 files changed, 0 insertions, 0 deletions