Details
-
Wish
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.0
Description
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 layer, to avoid or minimize copies when serializing foreign objects.
Attachments
Issue Links
- links to