Crates.io | contiguous_collections |
lib.rs | contiguous_collections |
version | 0.2.0 |
source | src |
created_at | 2024-09-21 12:10:38.886512 |
updated_at | 2024-09-22 18:08:09.076857 |
description | A library of collections backed by flat contiguous arrays |
homepage | |
repository | https://github.com/timlathy/contiguous_collections |
max_upload_size | |
id | 1382160 |
size | 29,504 |
contiguous_collections
is a small Rust library of collections backed by flat contiguous arrays:
Array2<T>
, a fixed-size two-dimensional array of T
s stored as a flat boxed slice in row-major order.OrdVec<T, K>
, an ordered Vec<T>
intended for fast lookup of items by key, with the key stored inside each T
and retrieved via the key function K
.