Abstract Splay trees are self-organizing binary search trees that were introduced by Sleator andTarjan . In this paper we present a randomized variant of these trees. The new algorithm for reorganizing the tree is both simple and easy to implement. We prove that our randomizedsplaying scheme has the same asymptotic performance as the original deterministic scheme but improves constants in the expected running time. This is interesting in practice becausethe search time in splay trees is typically higher than the search time in skip lists and AVLtrees. We present a detailed experimental study of our algorithm. On request sequencesgenerated by fixed probability distributions, we can achieve improvements of up to 25 % over deterministic splaying. On request sequences that exhibit high locality of reference, theimprovements are minor
To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.