Release 3.2.1
Changes from 3.2.0 to 3.2.1
-
The array containers are now using the
__array_interface__protocol to
expose the data in the array. This allows for better interoperability with
other libraries that support the__array_interface__protocol, like NumPy,
CuPy, etc. Now, the range of functions that can be used within theblosc2.jit
decorator is way larger, and essentially all NumPy functions should work now.See examples at: https://github.com/Blosc/python-blosc2/blob/main/examples/ndarray/jit-numpy-funcs.py
See benchmarks at: https://github.com/Blosc/python-blosc2/blob/main/bench/ndarray/jit-numpy-funcs.py -
The performance of constructors like
arange(),linspace()andfromiter()
has been improved. Now, they can be up to 3x faster, specially with large
arrays. -
C-Blosc2 updated to 2.17.1. This fixes various UB as well as compiler warnings.