mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 19:21:11 +08:00
perf: 对象字面量静态键装载期预内部化,构造期直读侧表
This commit is contained in:
@@ -484,6 +484,7 @@ impl Vm {
|
||||
let table = self.current_table_mut();
|
||||
table.modules = modules;
|
||||
table.immutables.resize(table.modules.len(), OnceLock::new());
|
||||
table.si_tables.resize(table.modules.len(), OnceLock::new());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user