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

[Q&A]: does the JS runtime preserve in memory objects? #341

Open
dberardo-com opened this issue Jan 16, 2025 · 1 comment
Open

[Q&A]: does the JS runtime preserve in memory objects? #341

dberardo-com opened this issue Jan 16, 2025 · 1 comment

Comments

@dberardo-com
Copy link

say that one needs to create complex objects in the JS runtime, is it possible to reuse those objects from memory after the JS script has run the first time, or will the runtime be garbage collected at every execution?

and also: is it possible to use additional npm packages / js libraries in the JS runtime ?

@dberardo-com
Copy link
Author

according to this comment robertkrimen/otto#544 (comment) it should be the case as long as the same runtime is used. is this the case in this project ?

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

No branches or pull requests

1 participant