Pcodec

Latest version: v0.1.1

Safety actively analyzes 628477 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.2.5

Fixed a bug in v0.2.4 that caused a panic during histogram computation under certain conditions.

0.2.4

* Made int mult detection more statistically principled, reducing false positive rate.
* Improved compression speed by sorting only partially to compute the histogram. This is 10-50% faster at default compression level, but 300+% faster at low compression levels.
* Yanked because a bug (causing a panic) was discovered right after publishing.

0.2.3

No real changes, but bumped `better_io` version to 0.1.0.

0.2.2

* Fixed https://github.com/mwlon/pcodec/issues/178

0.2.1

* Made public/private visibilities compatible with old Rust 1.73 behavior

0.2.0

* API breaking changes
* Renamed `auto_[de]compress` to `simpler_compress` and `simple_decompress`.
* Changed `NumberLike` and `UnsignedLike => Latent` traits in various ways that will enable more data types. Technically dropped support for custom data types, but they might actually be easier than before.
* Renamed `PagingSpec::ExactPageSizes` to `Exact`.
* Now requiring a minimum Rust version of 1.73.
* API additions
* `{standalone, wrapped}::guarantee`: fast max size guarantees on standalone and wrapped compressed header, chunk meta, and file sizes
* `DEFAULT_MAX_PAGE_N`
* `data_types::CoreDataType` for dynamic data types, plus macros to match on them
* `{IntMultSpec, FloatMultSpec}::Provided` variants for manual control
* Improvements
* Made compression choose a faster compression scheme for nearly-uniform data when it causes little harm to compression ratio.
* Improved various float and int mult heuristics, often increasing compression ratio.
* Increased int mult compression speed slightly.
* Satisfied MIRI, though no real bugs were found.

Python_v0.1.0
* Standardized `auto_*` functions to `simple_*`
* Moved standalone functionality to pcodec.standalone module
* Created pcodec.wrapped module with the essential wrapped API

Python_v0.0.1
* Added compression options to `auto_compress`
* Added `auto_decompress`
* Documentation and a small README
* Compiled x86_64 with +bmi1,+bmi2,+avx2 instruction sets for much better performance

Python_v0.0.0
Created basic standalone Python bindings for `auto_compress` and `simple_decompress_into`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.