5 releases

✓ Uses Rust 2018 edition

0.1.0 Jun 27, 2020
0.0.5 Jun 26, 2020
0.0.4 Nov 7, 2017
0.0.3 Apr 5, 2015
0.0.2 Mar 31, 2015

#241 in Data structures

Download history 6001/week @ 2020-03-16 6463/week @ 2020-03-23 5733/week @ 2020-03-30 3941/week @ 2020-04-06 4924/week @ 2020-04-13 5053/week @ 2020-04-20 5801/week @ 2020-04-27 5061/week @ 2020-05-04 7168/week @ 2020-05-11 5178/week @ 2020-05-18 4705/week @ 2020-05-25 10053/week @ 2020-06-01 12169/week @ 2020-06-08 9971/week @ 2020-06-15 7283/week @ 2020-06-22 4200/week @ 2020-06-29

28,841 downloads per month
Used in 55 crates (via radix_trie)

MIT license

16KB
337 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.5"

Documentation

API documentation is available here:

https://docs.rs/nibble_vec

Contributors

Made by:

License

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

Dependencies

~81KB