We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Allocation practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 15 of 15
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| ASCII search without lowercase copies | Easy | Primitives |
|
| Build a byte index with one allocation | Easy | Primitives |
|
| Build a CSV record with one output buffer | Easy | Primitives |
|
| Build a report with a reusable string buffer | Medium | End-to-End |
|
| Chains versus loops: top-k, and a function that must not allocate | Medium | End-to-End |
|
| Cow: borrow until you have to own | Medium | Primitives |
|
| Delegate shape methods through an enum | Medium | End-to-End |
|
| Filter records without cloning their tags | Medium | End-to-End |
|
| Remove and return matching events with extract_if | Easy | Primitives |
|
| Reserve output space and report iterator size hints | Medium | End-to-End |
|
| Reusing buffers instead of allocating per iteration | Medium | Primitives |
|
| Sorting: sort vs sort_unstable vs sort_by_cached_key | Medium | End-to-End |
|
| Store and transpose a grid in one flat buffer | Medium | End-to-End |
|
| Where the allocations are: the counting allocator | Easy | Primitives |
|
| Zero-copy parsing: borrow, don't allocate | Medium | Primitives |
|