62 breaking releases

0.65.0 Aug 5, 2024
0.63.0 Aug 5, 2024
0.56.0 Jul 30, 2024

#446 in Data structures

Download history 107/week @ 2024-06-06 424/week @ 2024-06-13 570/week @ 2024-06-20 1472/week @ 2024-06-27 1244/week @ 2024-07-04 1810/week @ 2024-07-11 372/week @ 2024-07-18 657/week @ 2024-07-25 1163/week @ 2024-08-01 58/week @ 2024-08-08 4/week @ 2024-08-15

1,345 downloads per month
Used in 2 crates

MIT license

35KB
1K SLoC

fast collections

This crate need generic_const_exprs feature.

  1. I need a complex game system, very fast speed is required!
  2. Using String, Box, and Vec is slow due to heap allocation.
  3. In that case, let’s use &’str, which is fast even if zero copy modification of the size is impossible. However, it is difficult to manage due to its lifetime.
  4. Then there is no Cursor, Vec, or String, but Let’s use [T;N]. However, const generics are difficult to manage
  5. If so, let’s use GenericArray. However, it lacks Vec, Cursor, and String types.
  6. Then, let’s create a crate that uses typenum rather than const generic without heap allocation and no references.

No runtime deps