KIT | KIT-Bibliothek | Impressum | Datenschutz

Engineering faster sorters for small sets of items

Bingmann, Timo 1; Marianczuk, Jasper 1; Sanders, Peter ORCID iD icon 1
1 Institut für Theoretische Informatik (ITI), Karlsruher Institut für Technologie (KIT)

Abstract:

Sorting a set of items is a task that can be useful by itself or as a building block for more complex operations. That is why a lot of effort has been put into finding sorting algorithms that sort large sets as efficiently as possible. But the more sophisticated and complex the algorithms become, the less efficient they are for small sets of items due to large constant factors. A relatively simple sorting algorithm that is often used as a base case sorter is insertion sort, because it has small code size and small constant factors influencing its execution time. We aim to determine if there is a faster way to sort small sets of items to provide an efficient base case sorter. We looked at sorting networks, at how they can improve the speed of sorting few elements, and how to implement them in an efficient manner using conditional moves. Since sorting networks need to be implemented explicitly for each set size, providing networks for larger sizes becomes less efficient due to increased code sizes. To also enable the sorting of slightly larger base cases, we adapted sample sort to Register Sample Sort, to break down those larger sets into sizes that can in turn be sorted by sorting networks. ... mehr


Verlagsausgabe §
DOI: 10.5445/IR/1000127671
Veröffentlicht am 25.01.2021
Originalveröffentlichung
DOI: 10.1002/spe.2922
Scopus
Zitationen: 6
Web of Science
Zitationen: 5
Dimensions
Zitationen: 9
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Theoretische Informatik (ITI)
Publikationstyp Zeitschriftenaufsatz
Publikationsmonat/-jahr 05.2021
Sprache Englisch
Identifikator ISSN: 0038-0644, 1097-024X
KITopen-ID: 1000127671
Erschienen in Software <Chichester>
Verlag John Wiley and Sons
Band 51
Heft 5
Seiten 965-1004
Vorab online veröffentlicht am 02.11.2020
Schlagwörter base case sorting, sample sort, sorter, sorting, sorting algorithm, sorting networks
Nachgewiesen in Web of Science
Scopus
Dimensions
Relationen in KITopen
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page