arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Guangyuan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARROW-33) C++: Implement zero-copy array slicing
Date Wed, 30 Mar 2016 06:02:25 GMT

    [ 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)

Mime
View raw message