3 ms·Lookup time is widely different if you use std::map. But you can use std::vector in a similar fashion.by halayli 7y agoLookup time is widely different if you use std::map. But you can use std::vector in a similar fashion.