Antoine Pitrou created ARROW-2660:
-------------------------------------

             Summary: [Python] Experiment with zero-copy pickling
                 Key: ARROW-2660
                 URL: https://issues.apache.org/jira/browse/ARROW-2660
             Project: Apache Arrow
          Issue Type: Wish
          Components: Python
    Affects Versions: 0.9.0
            Reporter: Antoine Pitrou


PEP 574 has an implementation ready and a PyPI-available backport (at 
[https://pypi.org/project/pickle5/] ). Adding experimental support for it would 
allow for zero-copy pickling of Arrow arrays, columns, etc.

I think it mainly involves implementing {{reduce_ex}} on the {{Buffer}} class, 
as described in [https://www.python.org/dev/peps/pep-0574/#producer-api]

In addition, the consumer API added by PEP 574 could be used in Arrow's 
serialization array, to avoid or minimize copies when serializing foreign 
objects.



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

Reply via email to