George Neuner wrote:
> <cut />
Regarding the stdext::hash_map vs. std::map subject, a propos the initial
question, say I have a following situation:
std::map< unsigned int, vector< SomeClass > > theMap;
stdext::hash_map< unsigned int, vector< SomeClass > > theHashMap;
So the maps map integers to corresponding vectors of some significance to the
program functionality. :) The structure is used mainly to find( someInt ) or for
assignment using a subscript operator. How would you judge the performance of
this structures; would you expect the stdext::hash_map to outperform the
std::map by default? TIA!
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]