File tree Expand file tree Collapse file tree 2 files changed +28
-7
lines changed
Expand file tree Collapse file tree 2 files changed +28
-7
lines changed Original file line number Diff line number Diff line change 1- Announcing Python-Blosc2 3.3.0
1+ Announcing Python-Blosc2 3.3.1
22==============================
33
4- We are introducing a new blosc2.transpose() function for natively transposing
5- 2D NDArray instances, and a fast path for NDArray.slice() that delivers up to
6- 40x speedup when slices align with underlying chunks. Documentation has also
7- been improved with several edits throughout.
4+ In our effort to better adapt to better adapt to the array API
5+ (https://data-apis.org/array-api/latest/), we have introduced
6+ permute_dims() and matrix_transpose() functions, and the .T property.
7+ This replaces to previous transpose() function, which is now deprecated.
8+ See PR #384. Thanks to Ricardo Sales Piquer (@ricardosp4).
89
9- See benchmarks at: https://github.com/Blosc/python-blosc2/blob/main/bench/ndarray/aligned_chunks.py
10+ We have also reduced the memory footprint of constructors like ``arange() ``,
11+ ``linspace() `` and ``fromiter() `` by a large factor. As an example, a 5 TB
12+ array of 8-byte floats now uses less than 200 MB of memory instead of
13+ 170 GB previously.
1014
1115You can think of Python-Blosc2 3.x as an extension of NumPy/numexpr that:
1216
Original file line number Diff line number Diff line change 22
33## Changes from 3.3.0 to 3.3.1
44
5- XXX version-specific blurb XXX
5+ * In our effort to better adapt to better adapt to the array API
6+ (https://data-apis.org/array-api/latest/ ), we have introduced
7+ permute_dims() and matrix_transpose() functions, and the .T property.
8+ This replaces to previous transpose() function, which is now deprecated.
9+ See PR #384 . Thanks to Ricardo Sales Piquer (@ricardosp4 ).
10+
11+ * Constructors like ` arange() ` , ` linspace() ` and ` fromiter() ` now
12+ use far less memory when creating large arrays. As an example, a 5 TB
13+ array of 8-byte floats now uses less than 200 MB of memory instead of
14+ 170 GB previously. See PR #387 .
15+
16+ * Now, when opening a lazy expression with ` blosc2.open() ` , and there is
17+ a missing operand, the open still works, but the dtype and shape
18+ attributes are None. This is useful for lazy expressions that have
19+ lost some operands, but you still want to open them for inspection.
20+ See PR #385 .
21+
22+ * Added an example of getting a slice out of a C2Array.
623
724## Changes from 3.2.1 to 3.3.0
825
You can’t perform that action at this time.
0 commit comments