4 releases

0.0.4 Nov 7, 2017
0.0.3 Apr 5, 2015
0.0.2 Mar 31, 2015
0.0.1 Mar 20, 2015

#149 in Data structures

Download history 6187/week @ 2019-10-13 5467/week @ 2019-10-20 4261/week @ 2019-10-27 4859/week @ 2019-11-03 5317/week @ 2019-11-10 4612/week @ 2019-11-17 3979/week @ 2019-11-24 5813/week @ 2019-12-01 7813/week @ 2019-12-08 5022/week @ 2019-12-15 2140/week @ 2019-12-22 2493/week @ 2019-12-29 4379/week @ 2020-01-05 4854/week @ 2020-01-12 4419/week @ 2020-01-19

22,092 downloads per month
Used in 47 crates (via radix_trie)

MIT license

15KB
300 lines

NibbleVec

Build Status

Data-structure for storing a sequence of half-bytes.

Wraps a Vec<u8>, providing safe and memory-efficient storage of 4-bit values.

In terms of supported operations, the structure behaves kind of like a fixed length array, in that insertions into the middle of the vector are difficult (and unimplemented at present).

Usage

This code is available on the Rust package host:

https://crates.io/crates/nibble_vec

You can use it in your own projects by adding nibble_vec as a dependency in your Cargo.toml.

[dependencies]
nibble_vec = "0.0.3"

Documentation

API documentation is available here:

https://docs.rs/nibble_vec

License

MIT License. Copyright © Michael Sproul and contributors 2015-2017.

No runtime deps