What is the performance difference between using an iterator to loop through an STL map, versus a vector? I\'d like to use the map key for insertion, deletion, and some accesses
Iterating through every element of a map takes O(n) time. wikipedia