Skip to content

Commit

Permalink
add sparse codec
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Dec 13, 2022
1 parent a2cf6a7 commit fbf4e86
Show file tree
Hide file tree
Showing 3 changed files with 542 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fastfield_codecs/src/null_index/dense.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl DenseCodec {
///
/// # Panics
///
/// May panic if any `idx` is greater than the column length.
/// May panic if any `idx` is greater than the max codec index.
pub fn translate_codec_idx_to_original_idx<'a>(
&'a self,
iter: impl Iterator<Item = u32> + 'a,
Expand Down
1 change: 1 addition & 0 deletions fastfield_codecs/src/null_index/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pub use dense::{serialize_dense_codec, DenseCodec};

mod dense;
mod sparse;

#[inline]
fn get_bit_at(input: u64, n: u32) -> bool {
Expand Down
Loading

0 comments on commit fbf4e86

Please sign in to comment.