densevec

Crates.iodensevec
lib.rsdensevec
version0.5.1
sourcesrc
created_at2018-03-16 19:05:42.754299
updated_at2022-07-07 12:06:00.867817
descriptionMap like collection with usize indices that stores values contiguosly
homepagehttps://github.com/arturoc/densevec-rs
repositoryhttps://github.com/arturoc/densevec-rs
max_upload_size
id56036
size61,969
arturo (arturoc)

documentation

http://rin.rs/docs/densevec/

README

DenseVec

Map like collection with usize indices that stores values contiguosly in memory so iterating through them is as fast as iterating a vector.

The index uses a sparse vector so using very high numbers will lead to high memory usage

The API mimics that of HashMap and implements all it's features + some methods that are useful in this case like get_unchecked(_mut).

Commit count: 43

cargo fmt