Well alrighty then. Thanks All. Jim > -----Original Message----- > From: Brad Wilson [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 29, 2002 3:44 PM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] newbie question: no tree class? > > > Axel Heitland wrote: > > > From what I know std::map is indeed using a balanced tree since the > > lookup time in a map should have log(n)-complexity. > > > However there might exist some dumb std::map's out there ;-) > > By definition, std::map must have log(n) lookup; given the other > requirements, that pretty much demands a balanced tree. Every > implementation > I've seen uses red/black trees. > > Brad > > -- > Read my web log at http://www.quality.nu/dotnetguy/ > > You can read messages from the DOTNET archive, unsubscribe > from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. >
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.