Thread (77 messages) flat view 77 messages, 4 authors, 2016-06-15

Re: [PATCH 4/8] Add treap implementation

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:08

Ramkumar Ramachandra wrote:
Treaps provide a memory-efficient binary search tree structure.
Insertion/deletion/search are about as about as fast in the average
case as red-black trees and the chances of worst-case behavior are
vanishingly small, thanks to (pseudo-)randomness.  The bad worst-case
behavior is a small price to pay, given that treaps are much simpler
to implement.
I still haven’t checked this implementation in detail, but it seemed
to work in practice and is about to change anyway.

I like the documentation updates.  What else changed from the
previous round?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help