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
- treemap
alloc
- 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 ofRoaring64NavigableMap
- Native
- The
Native
format format can sometimes be more space efficient thanPortable
, - Portable
- The
Portable
format is meant to be compatible with other roaring bitmap libraries, such as Go or Java.
Functions§
- configure_
rust_ ⚠alloc alloc
- Install custom memory allocation hooks for
CRoaring
which will use rust’s global allocator.