Crates.io | fast_collections |
lib.rs | fast_collections |
version | 0.39.0 |
source | src |
created_at | 2024-06-11 13:01:15.642733 |
updated_at | 2024-07-14 10:14:26.884003 |
description | noheap zero copy collections |
homepage | |
repository | https://github.com/Bruce0203/fast_collections |
max_upload_size | |
id | 1268200 |
size | 29,732 |
This crate need generic_const_exprs
feature.
I need a complex game system, very fast speed is required!
Using String, Box
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.
Then there is no Cursor
If so, let’s use GenericArray. However, it lacks Vec, Cursor, and String types.
Then, let’s create a crate that uses typenum rather than const generic without heap allocation and no references.