Skip to content

Commit 81ce100

Browse files
committed
Some amendments to differences wrt python-blosc
1 parent d90d2ac commit 81ce100

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ your Blosc build:
106106

107107
.. code-block:: console
108108
109-
PYTHONPATH=. python bench/compress_numpy.py
109+
PYTHONPATH=. python bench/pack_compress.py
110110
111111
Just to whet your appetite, here are some speed figures for an Intel box (i9-10940X CPU @ 3.30GHz, 14 cores)
112112
running Ubuntu 22.04. In particular, see how performance for `pack_array2/unpack_array2` has

RELEASE_NOTES.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,18 @@ and `size`.
107107
* On the other hand, the function `unpack` doesn't
108108
return a numpy array whereas the `unpack_array`
109109
builds that array.
110+
111+
* The `compcode` parameter has been renamed to `codec`.
112+
A `NameError` exception will be raised when using the old name.
113+
Please update your code when you see this exception.
114+
115+
* The different codecs are accessible via the `Codec` enumerated.
116+
E.g. `Codec.LZ4` or `Codec.Zlib`
110117

111-
* The `blosc.NOSHUFFLE` is replaced
112-
by the `blosc2.NOFILTER`, but for backward
113-
compatibility `blosc2.NOSHUFFLE` still exists.
118+
* The different filters are accessible via the `Filter` enumerated.
119+
E.g. `Filter.SHUFFLE` or `Filter.BITSHUFFLE`
114120

115-
* A bytearray or NumPy object can be passed to
116-
the `blosc2.decompress` function to store the
117-
decompressed data.
121+
* The `blosc.NOSHUFFLE` is replaced by the `blosc2.Filter.NOFILTER`.
118122

123+
* A bytearray or NumPy object can be passed to the `blosc2.decompress`
124+
function to store the decompressed data.

0 commit comments

Comments
 (0)