Comparative performance evaluation of the AVL and red-black trees

  • Authors:
  • Svetlana Štrbac-Savić;Milo Tomašević

  • Affiliations:
  • School of Electrical Engineering and Computer Science Applied Studies, Belgrade, Serbia;School of Electrical Engineering, Belgrade, Serbia

  • Venue:
  • Proceedings of the Fifth Balkan Conference in Informatics
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

The AVL and red-black trees are the suboptimal variants of the binary search trees which can achieve the logarithmic performance of the search operation withot an excessive cost of the optimal balancing. After presenting a brief theoretical background, the paper comparatively evaluates the performance of these two structures. The evaluation was performed by means of simulation with a synthetic workload model. In order to obtain a better insight, the performance indicators are chosen to be implementation and platform independent. Some representative results of the evalution are given and discussed. Finally, the findings of this study are summarized into the suggestions for an optimal use of the analyzed trees.