tustvold commented on code in PR #3517:
URL: https://github.com/apache/arrow-rs/pull/3517#discussion_r1068120878
##########
arrow-buffer/src/alloc/mod.rs:
##########
@@ -135,20 +135,25 @@ pub(crate) enum Deallocation {
/// An allocation of the given capacity that needs to be deallocated using
arrows's cache aligned allocator.
/// See [allocate_aligned] and [free_aligned].
Arrow(usize),
- /// An allocation from an external source like the FFI interface or a Rust
Vec.
- /// Deallocation will happen
+ /// An allocation using the system's default global allocator and the
provided layout
+ Global(Layout),
Review Comment:
This does increase the size of `Dellocation` by 8 bytes. In practice this is
extremely unlikely to matter
--
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]