jhorstmann commented on PR #6336:
URL: https://github.com/apache/arrow-rs/pull/6336#issuecomment-2359408836

   I plan to look into this in more detail as it might be useful in our 
codebase, which makes good use of a custom allocator to track memory usage.
   
   A unit test with a custom allocator, to be run with miri, would be very 
nice. I have a concern that after turning the `MutableBuffer` into a `Buffer` 
it would not be freed with the correct allocator. Adding a generic parameter to 
`Buffer` would affect a lot more apis, maybe it could use the existing 
`Deallocation::Custom` strategy somehow.
   


-- 
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