Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to newContext to disable memoization of global context … #2999

Merged
merged 1 commit into from
Oct 25, 2024

Commits on Oct 25, 2024

  1. 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.
    danlapid committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    57365ba View commit details
    Browse the repository at this point in the history