Python package implementing an educational version of Elias-Fano succint structure. This package is not thought for efficient data storing as the superior and inferior data vectors are implemented as strings to show the results step by step for educational purposes.
Project description
Python package implementing an educational version of Elias-Fano succint structure. This package is not thought for efficient data storing as the superior and inferior data vectors are implemented as strings to show the results step by step for educational purposes.
How do I install this package?
As usual, just download it using pip:
pip install elias_fano
Tests Coverage
Since some software handling coverages sometime get slightly different results, here’s three of them:
Usage example
from elias_fano import EliasFano
ef = EliasFano([0, 0, 0, 5, 6, 8, 12])
ef.selection(3) # 5
ef.rank(6) # 4
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.