62 breaking releases

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

#1190 in Data structures

Download history 299/week @ 2024-06-10 401/week @ 2024-06-17 876/week @ 2024-06-24 1895/week @ 2024-07-01 1704/week @ 2024-07-08 793/week @ 2024-07-15 169/week @ 2024-07-22 1308/week @ 2024-07-29 427/week @ 2024-08-05 9/week @ 2024-08-12 48/week @ 2024-09-16 33/week @ 2024-09-23

81 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