sbbf-rs

Crates.iosbbf-rs
lib.rssbbf-rs
version0.2.8
sourcesrc
created_at2023-05-13 23:49:18.816095
updated_at2024-02-29 21:15:57.736514
descriptionSplit block bloom filter implementation
homepagehttps://github.com/ozgrakkurt/sbbf-rs
repositoryhttps://github.com/ozgrakkurt/sbbf-rs
max_upload_size
id863985
size42,197
Özgür Akkurt (ozgrakkurt)

documentation

README

sbbf-rs

CI Crates.io version

Split block bloom filter implementation.

Implementation of parquet bloom filter spec.

Features

  • Full runtime detection of cpu features, don't need to do target-cpu=native or manually turn on avx
  • All stable rust
  • Outputs same byte buffers on different systems. Completely cross-platform.
  • no_std support
  • relatively simple and low amount of code

Caveats

  • Only unsafe api. Safe API can be found at sbbf-rs-safe.
  • Dynamic dispatch to methods. (Not sure if this will effect performance so much)
  • On WASM, unlike other targets, need to do RUSTFLAGS="-C target-feature=+simd128" and use nightly if you want to enable SIMD accelerated version of filter. If user compiles without enabling simd128, they don't need to use nightly and the fallback implementation of a filter will be used.
Commit count: 63

cargo fmt