Wes McKinney commented on ARROW-317:

I implemented this in pandas prototyping:


per https://github.com/pandas-dev/pandas2/issues/44 my working plan is to make 
pandas depend on libarrow so we can all this buffer wrangling / memory 
management in one place

> [C++] Implement zero-copy Slice method on arrow::Buffer that retains 
> reference to parent
> ----------------------------------------------------------------------------------------
>                 Key: ARROW-317
>                 URL: https://issues.apache.org/jira/browse/ARROW-317
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
> This will help prevent referenced memory from being garbage-collected while 
> it is referenced by other buffers (for example, in an IPC setting, where we 
> construct Arrow vectors/arrays without copying the input memory).
> Closely related to this: resizeable buffers that are referenced by other 
> buffers should return error status when calling {{Resize}} (if possible). 

This message was sent by Atlassian JIRA

Reply via email to