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

Wes McKinney commented on ARROW-1894:
-------------------------------------

The purpose is to avoid copying during deserialization. I think that a 
{{memoryview}} object in a collection would be pickled now instead of sent as a 
sidecar (like Buffer, ndarray, etc.)

> [Python] Treat CPython memoryview or buffer objects equivalently to 
> pyarrow.Buffer in pyarrow.serialize
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-1894
>                 URL: https://issues.apache.org/jira/browse/ARROW-1894
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.10.0
>
>
> These should be treated as Buffer-like on serialize. We should consider how 
> to "box" the buffers as the appropriate kind of object (Buffer, memoryview, 
> etc.) when being deserialized



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to