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



Just a follow-up to what Paolo said...


As it can be seen (again) in my benchmark results, at
http://stlavlmap.sourceforge.net, the AVL tree is faster for some
operations, but never slower for the rest.

The test codes are very simplistic, and I won't claim they give
conclusive results. So I'm sending this e-mail to:
1) ask if anyone is interested in testing it; my system has too little
memory to create bigger trees, so my measurements may have too much
noise.
2) suggest it to be integrated into libstdc++, if the tests on other
environments confirm my measurements.

I'd be more interested in looking at this if you could provide performance measurements based on libstdc++'s own performance testsuite. Ie, "make check-performance."


If you feel that coverage in that testsuite is lacking, please feel free to suggest improvements...

best,
benjamin



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