6 releases (breaking)
new 0.6.0 | Jan 13, 2025 |
---|---|
0.5.0 | Jan 13, 2025 |
0.4.0 | Jan 13, 2025 |
0.3.0 | Jan 13, 2025 |
0.1.0 | Jan 13, 2025 |
#1549 in Data structures
304 downloads per month
Used in 2 crates
13KB
285 lines
FlatArray
This crates contains the code for a cache-friendly datastructure named
FlatArray
. It mimics the behavior of a Vec<Vec<T>>
by allowing the
users to iterate over the vectors and can be dereferenced into a
&[T]
. FlatArray
is of fixed size but can be iterated over as if
it was a Vec<Vec<T>>
, with the help of the iter_arrays
and
iter_arrays_mut
methods.