cetra3 commented on issue #22758: URL: https://github.com/apache/datafusion/issues/22758#issuecomment-4677091003
I think the only real way you can do this correctly is with a custom allocator. I've been [trying to get some traction](https://cetra3.github.io/blog/state-of-allocators-2026/) in rust to get this stabilised but it's an uphill battle. There has been some [recent work put into it though](https://github.com/rust-lang/rust/pull/156882). The `claim` api comes close, but at that point the allocation has already happened so you'll always need a bit of headroom. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
