=== std::vector vs std::list 1. std::vector: fast access; use **.resize** method rather than **.clear** method to clear the vector for further use; if you need to append lots of elements and you know the number of the elements, use **.reserve** method first; std::list : fast insert and fast remove 2. It is always better to use **++i** instead of **i++** because **i++** needs an extra copy operation.