Skip to content

Commit

Permalink
Some amendments to differences wrt python-blosc
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Oct 1, 2022
1 parent d90d2ac commit 81ce100
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ your Blosc build:

.. code-block:: console
PYTHONPATH=. python bench/compress_numpy.py
PYTHONPATH=. python bench/pack_compress.py
Just to whet your appetite, here are some speed figures for an Intel box (i9-10940X CPU @ 3.30GHz, 14 cores)
running Ubuntu 22.04. In particular, see how performance for `pack_array2/unpack_array2` has
Expand Down
18 changes: 12 additions & 6 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,18 @@ and `size`.
* On the other hand, the function `unpack` doesn't
return a numpy array whereas the `unpack_array`
builds that array.

* The `compcode` parameter has been renamed to `codec`.
A `NameError` exception will be raised when using the old name.
Please update your code when you see this exception.

* The different codecs are accessible via the `Codec` enumerated.
E.g. `Codec.LZ4` or `Codec.Zlib`

* The `blosc.NOSHUFFLE` is replaced
by the `blosc2.NOFILTER`, but for backward
compatibility `blosc2.NOSHUFFLE` still exists.
* The different filters are accessible via the `Filter` enumerated.
E.g. `Filter.SHUFFLE` or `Filter.BITSHUFFLE`

* A bytearray or NumPy object can be passed to
the `blosc2.decompress` function to store the
decompressed data.
* The `blosc.NOSHUFFLE` is replaced by the `blosc2.Filter.NOFILTER`.

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

0 comments on commit 81ce100

Please sign in to comment.