You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
If it is possible to protect every string is used in the request from garbage collecting till the request is gone, we can forget about copying all the strings bytes, just use the JS_Malloc'ed memory.
Also the data exchange between the JS engine and the engine X will be greatly simplified.
Check this.
The text was updated successfully, but these errors were encountered:
JS_EnterLocalRootScope() and JS_LeaveLocalRootScope() work with a stack. So an overlap may occur leading to an alive objects collecting.
Also, ATM, we can't get a local root token to emulate a named root scope and enter/leave it many times, then collect. Will try to emulate this manually with arrays or something kinda like.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If it is possible to protect every string is used in the request from garbage collecting till the request is gone, we can forget about copying all the strings bytes, just use the JS_Malloc'ed memory.
Also the data exchange between the JS engine and the engine X will be greatly simplified.
Check this.
The text was updated successfully, but these errors were encountered: