0
Give the advantages & disadvantages of the basic sequence container... 1.vector , 2.list.
Related with oop
3 ответов
0
Vector allows for random access, while list does not. Vector is very CPU cache friendly since it's contiguous, and thus has better performance when iterating it, while a list will result in many cache misses. List has the advantage of much faster insertions when adding new elements.
0
Thanks aklex
0
Thanx aklex