There exist hash_map in C++ (gcc extension). On Wed, May 26, 2010 at 9:48 AM, Ketan Joshi <[email protected]>wrote:
> Hi guys, > > This could be a wrong forum for such a question, but I am posting it here > anyways. > > I read somewhere that c++ maps are implemented using height balanced trees > (red black trees specifically). > > Why wasn't it implemented using hash tables? wouldn't it have been faster > specially since maps dont allow duplicate keys? > > ~Ketan > > -- > You received this message because you are subscribed to the Google Groups > "google-codejam" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-code%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. > -- Best Regards, Ahmed Aly -- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
