New Causal Impact Library
Rust-powered CausalImpact port that's 10-30x faster than the R original.
Simple ANS (Asymmetric Numeral Systems) implementation in Python/C++
Single-file C++ ANS kernel beats wrestling with zstandard for quantized data.
Data scientists and ML engineers working with quantized numerical data
zstandard · lzma · blosc2
So I made simple_ans, a straightforward Python package that uses a small, yet efficient, kernel of C++ code (few hundred lines of code).
If you want it even simpler, there’s also a pure Python implementation in the repo (much slower though).
I hope you find it interesting and/or useful!
Rust-powered CausalImpact port that's 10-30x faster than the R original.
Search compressed data without decompressing—beats lzma on numeric arrays.
Data-oblivious quantization beats Product Quantization on online updates.
Standalone KV cache compression script implementing TurboQuant with 1.55x ratio.
Competent Python port of R's poLCA, but straightforward translation without novel techniques.
Compressed JSON bundles fit tight context windows better than pasting files.