PEP 3118 enables zero-copy by allowing extensions to share not the actual data, but a 'view' containing crucial metadata like data type, shape, and strides, allowing direct access to the same memory block.
Open the full topic