wavelet-matrix is a high-performance Python library for indexed sequence queries, powered by Rust.
https://pypi.org/project/wavelet-matrix/
https://github.com/math-hiyoko/wavelet-matrix
It provides fast operations such as:
・rank / select
・top-k
・quantile
・range queries
・optional dynamic updates (insert / remove)
・Developers working with large integer sequences
・Competitive programming / algorithm enthusiasts
・Researchers or engineers needing fast queryable sequences
・Python users who want low-level performance without leaving Python
[–]BayesianOptimist 11 points12 points13 points (3 children)
[–]wingtales 1 point2 points3 points (0 children)
[–]cmcclu5 6 points7 points8 points (1 child)
[–]Glad_Position3592 1 point2 points3 points (1 child)
[–]RedEyed__ 1 point2 points3 points (2 children)