refactor(tvix/eval/vm): don't put HashMap in a Box

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>
This commit is contained in:
Florian Klink 2023-08-19 17:33:46 +02:00 committed by flokli
parent aead2001d7
commit c67b18bf45

View file

@ -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.