Wes McKinney created ARROW-9270:
-----------------------------------

             Summary: [C++] Create Buffer to represent a slice of a 
ResizableBuffer that may yet reallocate
                 Key: ARROW-9270
                 URL: https://issues.apache.org/jira/browse/ARROW-9270
             Project: Apache Arrow
          Issue Type: New Feature
          Components: C++
            Reporter: Wes McKinney


One problem with slicing ResizableBuffer is that slices of a buffer that is 
still changing may be invalidated after a resize operation. I'd be interested 
in having a way to slice a ResizableBuffer where the slice is still usable 
after a resize. This would presume, of course, that the code responsible for 
the parent and child buffers behaves appropriately (e.g. if you call 
{{child->data()}} and then resize the parent, the pointer may become invalid



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to