Arc Forumnew | comments | leaders | submitlogin
1 point by xTERM 6166 days ago | link | parent

Vectors are very useful when accessing random positions in array. Lists are very inefficient for this because they need O(n) operations to access one item, whereas vectors only O(1).