Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 629
What problem do generational indices (e.g. slotmap) solve over plain Vec indices?
A
They remove bounds checks
B
They make indexing faster
C
A stale index to a removed slot that was reused would silently point to a different object; a generation counter detects it
D
They sort the arena