You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Feng Guangyuan (JIRA)" <ji...@apache.org> on 2016/03/30 08:02:25 UTC

[jira] [Commented] (ARROW-33) C++: Implement zero-copy array slicing

    [ https://issues.apache.org/jira/browse/ARROW-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217459#comment-15217459 ] 

Feng Guangyuan commented on ARROW-33:
-------------------------------------

Hi, there.
I’d like to work on this, if convenient. Thanks.

I have a draft implementation that adds a function to Array class like below:
{{code}}
Array slice(int32_t start, int32_t length);
{{code}}
It will return an Array with the reference to the parent Array’s raw data buffer and index scope information.
The function won’t copy the real data, and it just contains the concerned data buffer’s location and length.


> C++: Implement zero-copy array slicing
> --------------------------------------
>
>                 Key: ARROW-33
>                 URL: https://issues.apache.org/jira/browse/ARROW-33
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>
> Sliced array results will retain a reference to the parent's data buffer



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)