You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implements `__reduce__` and `__reduce_ex__` methods to enable pickling
of Vortex arrays in Python. Arrays are serialized using the Vortex IPC
format.
For pickle protocol 5+ (Python 3.8+, PEP 574), uses PickleBuffer to keep
array buffers separate from the main pickle stream rather than copying
them inline. This enables us to use shared memory in the future to
potentially zero-copy large arrays even across process boundaries.
Protocol 4 and below serialise buffers inline as bytes.
Both protocols share the same deserialization path via
`decode_ipc_array_buffers`, which reconstructs arrays from IPC-encoded
buffer lists (or memoryviews).
---------
Signed-off-by: Onur Satici <[email protected]>
0 commit comments