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