This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AVL vs Red-Black tree



Sure, I'm trying it right now. Is it possible to build just libstdc++?
I'm not being successful at it, so I'll either try to build both gcc
and g++, or simply reuse the performance testsuite code in my tests.

No, you'll have to build all of gcc. To simplify things, you can build just the c/c++ bits by configuring with the added flag "--enable-languages=c,c++"


Here is some helpful documentation:
http://gcc.gnu.org/install
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/contribute.html

BTW: the performance difference may be also related to a less
optimized implementation. Not that I spent any time in the AVL code
other than for correctness and removing duplicated code.

Ok, thanks for the clarification.


-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]