File tree Expand file tree Collapse file tree 4 files changed +23
-10
lines changed Expand file tree Collapse file tree 4 files changed +23
-10
lines changed Original file line number Diff line number Diff line change 1
- Announcing Python-Blosc2 3.5.0
1
+ Announcing Python-Blosc2 3.5.1
2
2
==============================
3
3
4
- This release adds significant new functionality in the form of ``stack() ``.
5
- It allows you to stack multiple Blosc2 NDarrays along a new axis, similar
6
- to NumPy's ``np.stack() ``. This is particularly useful for creating
7
- higher-dimensional arrays from lower-dimensional ones.
4
+ This release:
5
+ ✅ Dramatically reduced memory usage when computing slices of lazy expressions
6
+ (up to 20x less memory)
7
+ ✅ Added fast path for small slices that fit in memory (up to 20x faster)
8
+ ✅ Renamed blosc2.concatenate() to blosc2.concat() (following Array API standard)
9
+ ✅ Improved mode handling for concatenating arrays stored on disk
8
10
9
- We have blogged about this new feature:
10
- https://www.blosc.org/posts/blosc2-new-concatenate/#stacking-arrays
11
11
12
12
You can think of Python-Blosc2 3.x as an extension of NumPy/numexpr that:
13
13
Original file line number Diff line number Diff line change 2
2
3
3
## Changes from 3.5.0 to 3.5.1
4
4
5
- XXX version-specific blurb XXX
5
+ * Reduced memory usage when computing slices of lazy expressions.
6
+ This is a significant improvement for large arrays (up to 20x less).
7
+ Also, we have added a fast path for slices that are small and fit in
8
+ memory, which can be up to 20x faster than the previous implementation.
9
+ See PR #430 .
10
+
11
+ * ` blosc2.concatenate() ` has been renamed to ` blosc2.concat() ` .
12
+ This is in line with the [ Array API] ( https://data-apis.org/array-api ) .
13
+ The old name is still available for backward compatibility, but it will
14
+ be removed in a future release.
15
+
16
+ * Improve mode handling for concatenating to disk. See PR #428 .
17
+ Useful for concatenating arrays that are stored in disk, and allows
18
+ specifying the mode to use when concatenating.
6
19
7
20
## Changes from 3.4.0 to 3.5.0
8
21
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ dependencies = [
41
41
" py-cpuinfo; platform_machine != 'wasm32'" ,
42
42
" requests" ,
43
43
]
44
- version = " 3.5.1.dev0 "
44
+ version = " 3.5.1"
45
45
46
46
47
47
[project .optional-dependencies ]
Original file line number Diff line number Diff line change 1
- __version__ = "3.5.1.dev0 "
1
+ __version__ = "3.5.1"
You can’t perform that action at this time.
0 commit comments