Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 10
What does smallvec::SmallVec<[T; 8]> optimize for?
A
Sorting small vectors
B
Compressing vectors
C
Thread-safe vectors
D
Storing up to 8 elements inline (no heap allocation), spilling to the heap only beyond that