diff options
author | Florian Klink <flokli@flokli.de> | 2023-08-19T15·33+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-08-20T21·52+0000 |
commit | c67b18bf450b603cc9ab256ee541d01b4e0f861f (patch) | |
tree | ae2c87ffcc6c7ae8909356451c2e59f968c17d4a /tvix/eval/src/vm | |
parent | aead2001d7c3535be0f2f49daf73fe8a658d0c51 (diff) |
refactor(tvix/eval/vm): don't put HashMap in a Box r/6508
HashMap already is on the heap. Change-Id: I53763e17469359e85862f297b5c2e7c0d8c3a980 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9104 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/eval/src/vm')
-rw-r--r-- | tvix/eval/src/vm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/vm/mod.rs b/tvix/eval/src/vm/mod.rs index b3d6dad93ef3..681b8fb97af4 100644 --- a/tvix/eval/src/vm/mod.rs +++ b/tvix/eval/src/vm/mod.rs @@ -219,7 +219,7 @@ impl Frame { } #[derive(Default)] -struct ImportCache(Box<HashMap<PathBuf, Value>>); +struct ImportCache(HashMap<PathBuf, Value>); /// The `ImportCache` holds the `Value` resulting from `import`ing a certain /// file, so that the same file doesn't need to be re-evaluated multiple times. |