Skip to content
Commit Detail

Commit 57365ba

Author
Dan Lapid <dan.lapid@gmail.com> 2024-10-24 22:28:35 +0000
Parents
a9cf631
Tree
0fc7f57
Add an option to newContext to disable memoization of global context template.

For Python Isolate Pools we want to instantiate emscripten in a separate
context on isolate creation (before we have compatibility flags) and
later after receiving the compatibility flags create a new context.
One blocker to this approach is all the templates that are instantiated
in the first context are memoized. This PR allows us to create a new
context without memoizing the global context templates. This feature is
off by default and will be enabled in a future PR for python isolates
only.

Files changed

4 files changed+1 added~3 modified