js-runtime: Have value_map as a map instead of array to save memory

This commit is contained in:
iddev5 2022-07-07 18:38:42 +05:30 committed by Stephen Gutekanst
parent 7ceb30bdf1
commit 51c702aebc

View file

@ -78,7 +78,7 @@ const zig = {
this.wasm = wasm;
values = [];
value_map = [];
value_map = {};
this.addValue(globalThis);
},