hash_map und Karte, die schneller ist? weniger als 10000 Stück

vs2005 Unterstützung
::stdext::hash_map
::std::map.

doch wie es scheint ::stdext::hash_map ist das einfügen und entfernen OP langsamer ist, dann ::std::map in meinem test.
( weniger als 10.000 Elemente)

Interessant....

Kann jemand offored einen Vergleich-Artikel über Sie?

  • VS2005 ist hash_map ist schrecklich ineffizient mit std::string ' s..., was sind Sie hashing?
  • Ich legte shared_ptr<XXX> in
InformationsquelleAutor user25749 | 2009-07-14
Schreibe einen Kommentar