|
|
|
|
|
by pavpanchekha
5400 days ago
|
|
I remember a paper that compared fast implementations of treaps, AVL, and red-black trees, and found that they are approximately equally well suited. rbtrees are best at insertion, AVL at selection, treaps at overall performance (if I recall correctly). I don't have the reference though... |
|
(A red-black tree is a plain-old binary search tree for everything but modifications.)