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 Jul 25, 2024. It is now read-only.
On native platforms there's a com.kgl.utils.VirtualStack used for allocations for temporaries when interacting with C. At the moment it just forwards allocations to nativeHeap which is not ideal.
Ideally VirtualStack should create a large chunk of memory (about 64KB) to be re-used for function calls.
The text was updated successfully, but these errors were encountered:
The last time I checked, the native arena and memScoped call some sort of malloc, possibly a wrapper around the real malloc. It would be much better if small objects like Int and Long didn't require malloc each time. Might as well recycle a single allocation.
On native platforms there's a
com.kgl.utils.VirtualStack
used for allocations for temporaries when interacting with C. At the moment it just forwards allocations tonativeHeap
which is not ideal.Ideally
VirtualStack
should create a large chunk of memory (about 64KB) to be re-used for function calls.The text was updated successfully, but these errors were encountered: