mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
perf: 对象字面量静态键装载期预内部化,构造期直读侧表
This commit is contained in:
@@ -673,6 +673,7 @@ impl Vm {
|
||||
self.current_gen,
|
||||
Box::new(TableGen {
|
||||
immutables: (0..modules.len()).map(|_| OnceLock::new()).collect(),
|
||||
si_tables: (0..modules.len()).map(|_| OnceLock::new()).collect(),
|
||||
modules,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user