I\'m using a std::map (VC++ implementation) and it\'s a little slow for lookups via the map\'s find method.
std::map
The key type is std::string.
std::string
std::map's comparator isn't std::equal_to it's std::less, I'm not sure what the best way to short circuit a < compare so that it would be faster than the built in one.
If there are always < 15 elems, perhaps you could use a key besides std::string?