Standard versus uniform binary search and their variants in learned static indexing: The case of the searching on sorted data benchmarking software platform


Learned Indexes use a model to restrict the search of a sorted table to a smaller interval. Typically, a final binary search is done using the lower_bound routine of the Standard C++ library. Recent studies have shown that on current processors other search approaches (such as k-ary search) can be more efficient in some applications. Using the SOSD learned indexing benchmarking software, we extend these results to show that k-ary search is indeed a better choice when using learned indexes. We highlight how such a choice may be dependent on the computer architecture used, for example, Intel I7 or Apple M1, and provide guidelines for the selection of the Search routine within the learned indexing framework

Software: Practice and Experience
Domenico Amato
Phd Student

Phd Student of “Matematica e Scienze Computazionali”

Giosuè Lo Bosco
Associate professor

Professor of Machine Learning

Raffaele Giancarlo
Full professor

Professor of Algorithms and PI of the project: Research Unit Univ. Palermo