lidavidm commented on issue #33900:
URL: https://github.com/apache/arrow/issues/33900#issuecomment-1408916645

   > Another possible solution might be to leverage jemalloc or 
https://pkg.go.dev/github.com/dgraph-io/ristretto/z#Allocator as a way to 
amortize some of the FFI cost by allocating larger chunks at a time, or 
something to that effect.
   
   Just implement malloc in go :) Allocate a big chunk via C.malloc, then slice 
it up and hand out buffers as needed (allocating more chunks as needed)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to