#array #vector #data-structure

flatarray

Fast implementation of SeqEval, a sequence evaluation framework

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

Download history 304/week @ 2025-01-07

304 downloads per month
Used in 2 crates

MIT license

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.

No runtime deps