
Is there any faster version of std::map ? I heard there is a faster hashmap implementation, does boost have anything in this regard ?

On Thu, 13 Oct 2005, Piyush Kapadia wrote:
Is there any faster version of std::map ? I heard there is a faster hashmap implementation, does boost have anything in this regard ?
As far as I know, Boost does not offer any equivalent of hash_map, but only hash functions. Many Standard Library implementations do provide a hash_map. For instance, in libstdc++ (for g++), to use the hash_map, you have to include <ext/hash_map>, and the template class is in the namespace __gnu_cxx. I do not know about other implementations. I believe STLport has a hash_map as well. You can find documentation on hash_map here: http://www.sgi.com/tech/stl/hash_map.html I think that there will be a hash map (called unsorted_map) in the next C++ standard, which will actually look a lot similar to SGI's hash_map. -- Francois _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

"François Duranleau" <duranlef@iro.umontreal.ca> wrote in message news:Pine.LNX.4.60.0510131150130.31866@brocoli.iro.umontreal.ca...
On Thu, 13 Oct 2005, Piyush Kapadia wrote:
Is there any faster version of std::map ? I heard there is a faster hashmap implementation, does boost have anything in this regard ?
As far as I know, Boost does not offer any equivalent of hash_map, but only hash functions. Many Standard Library implementations do provide a
But, IIRC, boost.multi_index does provide for hashed indices. Jeff Flinn
participants (4)
-
François Duranleau
-
Jeff Flinn
-
Pavel Vozenilek
-
Piyush Kapadia