I note that `memScoped` uses `nativeHeap`, which e...
# kotlin-native
l
I note that
memScoped
uses
nativeHeap
, which eventually calls
malloc
for every allocation. I have a highly performance-intensive function where I need to allocate memory on the stack. Is there a way to get stack allocation instead?
l
@ephemient thanks. That was interesting.
a
that was indeed an interesting read