Releases: milesgranger/cramjam
Releases · milesgranger/cramjam
v2.0.0
New commits
- Reduce allocations & accept bytes and bytearray inputs (#22) a7c41df
- Support PyPy builds - not Windows (#28) e94b30f
- Support de/compress_into (#26) 67f368c
Notes
- Variants are moved to their own modules. ie
snappy_compress
is nowcramjam.snappy.compress
- Accept both
bytes
andbytearray
objects and returns the same. - Accept an optional
output_len
when the output of (de)compression is known; giving a 1-3x performance increase- While this is supported in snappy as well, when using
bytearray
as input, the output size is automatically calculated and the resulting buffer is resized after (de)compression.
- While this is supported in snappy as well, when using
- New
de/compress_into
for all variants, except lz4 - PyPy3.6 supported for OSX and Linux
- Python 3.9 support
v2.0.0-rc2
v2.0.0-rc1
New commits
Notes
- Variants are moved to their own modules. ie
snappy_compress
is nowcramjam.snappy.compress
- Accept both
bytes
andbytearray
objects and returns the same. - Accept an optional
output_len
when the output of (de)compression is known; giving a 1-3x performance increase- While this is supported in snappy as well, when using
bytearray
as input, the output size is automatically calculated and the resulting buffer is resized after (de)compression.
- While this is supported in snappy as well, when using
v1.3.2
v1.3.1 - Add sdist to PyPi uploads & benchmarks
Stable Rust & swap lz-fear from lz4 crate
Add exceptions and update PyO3
Support snappy raw api & docs
v1.0.1
v1.0.0
First release that includes python bindings to the following rust implemented de/compression algorithms:
- snappy
- brotli
- lz4
- gzip
- deflate
- zstd