jvanstraten commented on a change in pull request #12116:
URL: https://github.com/apache/arrow/pull/12116#discussion_r803686136
##########
File path: cpp/src/arrow/memory_pool.h
##########
@@ -63,6 +63,42 @@ class MemoryPoolStats {
/// take care of the required 64-byte alignment.
class ARROW_EXPORT MemoryPool {
public:
+ class ARROW_EXPORT ImmutableZeros {
Review comment:
Okay, `ImmutableZeros` now implements `Buffer` and has its
implementation hidden.
As I looked at the Buffer interface a bit better I also figured a
specialized memory manager was probably in order, since these buffers have
different, managed allocate operations. With that, I *think* the interface for
using immutable zero CPU buffers is now fully symmetric to the one for regular,
mutable CPU buffers.
81aa078
--
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]