Re:Mapping Strings in C++
by toth on Wednesday April 12, 2017 @07:49PM
(#14102825)
I see, that makes sense. I guess at that point you have something very much like std::map, except it doesn't keep itself sorted, you have to do it yourself.
I guess for cases like this where you initialize it once and never change it again it could even be a better choice (i.e., faster initialization).
I guess for cases like this where you initialize it once and never change it again it could even be a better choice (i.e., faster initialization).