Complexity analysis and performance of double hashing sort algorithm

Hazem M. Bahig
<span title="2019-04-04">2019</span> <i title="Springer Science and Business Media LLC"> <a target="_blank" rel="noopener" href="" style="color: black;">Journal of the Egyptian Mathematical Society</a> </i> &nbsp;
Sorting an array of n elements represents one of the leading problems in different fields of computer science such as databases, graphs, computational geometry, and bioinformatics. A large number of sorting algorithms have been proposed based on different strategies. Recently, a sequential algorithm, called double hashing sort (DHS) algorithm, has been shown to exceed the quick sort algorithm in performance by 10-25%. In this paper, we study this technique from the standpoints of complexity
more &raquo; ... ysis and the algorithm's practical performance. We propose a new complexity analysis for the DHS algorithm based on the relation between the size of the input and the domain of the input elements. Our results reveal that the previous complexity analysis was not accurate. We also show experimentally that the counting sort algorithm performs significantly better than the DHS algorithm. Our experimental studies are based on six benchmarks; the percentage of improvement was roughly 46% on the average for all cases studied.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="">doi:10.1186/s42787-019-0004-2</a> <a target="_blank" rel="external noopener" href="">fatcat:3uocgzsharf3xgdypw7chgjpke</a> </span>
<a target="_blank" rel="noopener" href="" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href=""> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="unlock alternate icon" style="background-color: #fb971f;"></i> </button> </a>