memory pool and rb-tree
Steven Schveighoffer
schveiguy at yahoo.com
Thu Aug 28 07:46:04 PDT 2008
"BLS" wrote
> Hi Steve
> In 2008, Sedgewick introduced a simpler version of red-black trees.
> So called Left-Leaning Red-Black Trees. Remarkable enough : This algo.
> requires just a few lines of code (compared to traditional
> implementations), is dammned fast, and looks pretty smart. Probabely
> interesting for you / DCollections. So here two links.
>
> PDF describing the Algorithm :
> http://www.cs.princeton.edu/~rs/talks/LLRB/RedBlack.pdf
>
> Java source:
> http://www.cs.princeton.edu/~rs/talks/LLRB/Java/RedBlackBST.java
> hope you'll find it usefull,Bjoern
At some point, I plan to investigate other means of representing trees and
hashes, and implement those options in dcollections. I've heard several
suggestions for tree-implementation, and I'll probably look at all of them.
When I have time :)
Thanks!
-Steve
More information about the Digitalmars-d-learn
mailing list