fast_collections

Crates.iofast_collections
lib.rsfast_collections
version0.39.0
sourcesrc
created_at2024-06-11 13:01:15.642733
updated_at2024-07-14 10:14:26.884003
descriptionnoheap zero copy collections
homepage
repositoryhttps://github.com/Bruce0203/fast_collections
max_upload_size
id1268200
size29,732
(Bruce0203)

documentation

README

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.

Commit count: 0

cargo fmt