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

Make script loading lazy #101

Closed
IvanMathy opened this issue Jul 5, 2020 · 1 comment
Closed

Make script loading lazy #101

IvanMathy opened this issue Jul 5, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@IvanMathy
Copy link
Owner

As the script base grows, and with scripts potentially becoming heavier with the addition of modules, the script manager should be switched to only boot up a virtual machine when a script is actually being used.

Investigate whether JSContext uses more memory/CPU than keeping the whole script js as a string.

@IvanMathy IvanMathy added the enhancement New feature or request label Jul 5, 2020
@IvanMathy IvanMathy self-assigned this Jul 5, 2020
@IvanMathy IvanMathy added this to the Release 1.2.0 milestone Jul 11, 2020
@IvanMathy
Copy link
Owner Author

Fixed in #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant