File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ since the intrinsics speed up both `rank` and `select` operations by a factor of
3232This feature requires AVX-512 support and uses unsafe code.
3333It also enables a special iterator for the rank/select bit vector that uses vectorized operations.
3434- ` serde ` : Enables serialization and deserialization of the data structures using the ` serde ` crate.
35+ - ` mem_dbg ` Enables ` mem_dbg ` support (see Dependencies).
3536- ` u16_lookup ` Enables a larger lookup table for BP tree queries. The larger table requires 128 KiB instead of 4 KiB.
3637
3738## Benchmarks
@@ -141,9 +142,11 @@ The `simd` feature uses unsafe code for AVX intrinsics, and performs operations
141142
142143## Dependencies
143144The library has no dependencies outside the Rust standard library by default.
144- It has a plethora of dependencies for benchmarking purposes, but these are not required for normal use.
145+
145146Optionally, the ` serde ` feature can be enabled to allow serialization and deserialization of the data structures,
146147which requires the ` serde ` crate and its ` derive ` feature.
148+ Similarly, [ ` mem_dbg ` ] ( https://docs.rs/mem_dbg/latest/mem_dbg/ ) support can be enabled with the
149+ ` mem_dbg ` feature.
147150
148151## License
149152Licensed under either of
Original file line number Diff line number Diff line change 5353//! implementation, and an additional iterator for the `RsVec` data structure.
5454//! - `serde` (disabled by default): Enables serialization and deserialization support for all
5555//! data structures in this crate using the `serde` crate.
56+ //! - `mem_dbg` (disabled by default): Enables support for the `mem_dbg` crate on all structures,
57+ //! providing memory layout debugging capabilities, as well as a more granular function to
58+ //! calculate memory usage than `heap_size()`.
5659//! - `bp_u16_lookup` (disabled by default): Uses a 16-bit lookup table for the balanced parenthesis
5760//! tree data structure. This is faster, but requires 128 KiB instead of 4 KiB.
5861
You can’t perform that action at this time.
0 commit comments