Crates.io | pef |
lib.rs | pef |
version | 0.1.3 |
source | src |
created_at | 2021-08-15 14:14:10.461093 |
updated_at | 2021-08-15 17:58:04.684388 |
description | Partioned Elias-Fano encoding for sorted integers |
homepage | |
repository | https://github.com/lightjacket/pef |
max_upload_size | |
id | 437275 |
size | 19,430 |
This repository is an ongoing Rust implementation of the Partitioned Elias-Fano encoding for sorted integers. The status is as follows:
let ef = EliasFano::new(vec![1,2,5]);
assert_eq!(ef.get(1), Some(2));
assert_eq!(ef.next_geq(4), Some(5));
let serialized = ef.as_bytes();