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
Why don't you use a hashtable instead? boost::unordered_map could do. Or you can roll out your own solution, and store the crc of a string instead of the string itself. Or better yet, put #defines for the strings, and use those for lookup, e.g.,
#define "STRING_1" STRING_1