Arc Forumnew | comments | leaders | submitlogin
1 point by xTERM 6069 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).