Make Engine faster to create.

This commit is contained in:
Stephen Chung
2023-02-25 19:57:19 +08:00
parent c2a8c342bb
commit 51581cdef5
13 changed files with 184 additions and 115 deletions

View File

@@ -806,7 +806,7 @@ impl Engine {
)
.or_else(|| {
Some(
self.module_resolver
self.module_resolver()
.resolve_raw(self, global, scope, &path, path_pos),
)
})