Crates.io | datazoo |
lib.rs | datazoo |
version | 0.7.0 |
source | src |
created_at | 2023-08-06 07:25:17.535687 |
updated_at | 2023-10-28 14:15:52.036683 |
description | Bitset and jagged array data structures |
homepage | |
repository | https://github.com/nicopap/datazoo |
max_upload_size | |
id | 936974 |
size | 142,413 |
A collection of data structures interesting enough to put in free range pens.
This is a collection of multimaps, jagged arrays, bit sets, and combination thereof.
Highlights:
Bitset
.JaggedArray
.PackedIntArray
similar to bitpacking
, bitvec
and other bitpacking
rust crates.BimultiMap
enumset
-keyed data structures.See rustdoc
documentation for details.
enumset
: enables the enumset
dependency and the EnumBitMatrix
EnumMultimap
data structuressmallvec
: (off by default) Implement bitset::ExtendBlocks
on SmallVec
.JaggedArray
is generic over storage types, which means you can take
advantage of your own specialized slice
impl such as SmallVec
, or a fixed
sze array stored on the stack (typically useful if you have a fixed height matrix).Bitset
is also generic over storage type, with the same implications.Drop
types at all.> u32::MAX
size_of(usize) >= size_of(u32)
#[no_std]
but I don't see why this couldn't be added as a featuresorted-iter
, can't disable dependency.Bitset
generally doesn't distinguish between "disabled within bound" and
"out of bound".This was first built for the cuicui_richtext
project, but became useful for
other things, so it got published separately.
You may use datazoo
under any of the following licenses: