Crate croaring

Crate croaring 

Source
Expand description

Rust wrapper for CRoaring (a C/C++ implementation at https://github.com/RoaringBitmap/CRoaring)

Provides Compressed Bitmaps, which act like a set of integers in an efficient way.

Re-exports§

pub use bitmap::Bitmap;
pub use bitmap::BitmapView;
pub use bitmap64::Bitmap64;
pub use bitmap64::Bitmap64View;
pub use bitset::Bitset;
pub use treemap::Treemap;alloc

Modules§

bitmap
Rust wrapper for CRoaring (a C/C++ implementation at https://github.com/RoaringBitmap/CRoaring)
bitmap64
A compressed bitmap which can hold 64-bit integers
bitset
Dense bitset implementation
treemapalloc
Treemap is a RoaringBitmap-based structure that supports 64bit unsigned integer values. Implemented as a BTreeMap.

Enums§

Frozen
The Frozen format imitates memory layout of the underlying C library.
JvmLegacy
The JvmLegacy format is meant to be compatible with the original Java implementation of Roaring64NavigableMap
Native
The Native format format can sometimes be more space efficient than Portable,
Portable
The Portable format is meant to be compatible with other roaring bitmap libraries, such as Go or Java.

Functions§

configure_rust_allocalloc
Install custom memory allocation hooks for CRoaring which will use rust’s global allocator.