[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hash_map
From: |
Guy Harrison |
Subject: |
Re: hash_map |
Date: |
Sat, 19 Feb 2005 05:00:18 GMT |
User-agent: |
KNode/0.8.1 |
Michael Schuster wrote:
> Hi,
> I'm using std::map<std::string, int*> with a lot of elements. As I
> thought hash_map would be a better choice, I tried to find out the
> improvements.I managed to get it working (after some googling). Ok,
> now my programm works with __gnu_cxx::hash_map but is awfully slow!
> I also tried STLPort's hash_map, but this hash_map really increases
> the speed of my app (~20%). Is there a better version of hash_map
> planed?
I use map<> (basically var=val) a *lot*. I have no problem with it.
> Thanks for your answers!
Pass by const ref
- hash_map, Michael Schuster, 2005/02/17
- Re: hash_map, Bernd Strieder, 2005/02/18
- Re: hash_map,
Guy Harrison <=