Bit-index sort: A fast non-comparison integer sorting algorithm for permutations

L. F. Curi-Quintal, J. O. Cadenas, G. M. Megson

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Citations (Scopus)

Abstract

This paper describes a fast integer sorting algorithm, herein referred to as Bit-index sort, which does not use comparisons and is intended to sort partial permutations. Experimental results exhibit linear complexity order in execution time. Bit-index sort uses a bit-array to classify input sequences of distinct integers, and exploits built-in bit functions in C compilers, supported by machine hardware, to retrieve the ordered output sequence. Results show that Bit-index sort outperforms quicksort and counting sort algorithms when compared in their execution time. A parallel approach for Bit-index sort using two simultaneous threads is also included, which obtains further speedups of up to 1.6 compared to its sequential case.

Original languageEnglish
Title of host publication2013 The International Conference on Technological Advances in Electrical, Electronics and Computer Engineering, TAEECE 2013
Pages83-87
Number of pages5
DOIs
Publication statusPublished - 2013
Externally publishedYes
Event2013 International Conference on Technological Advances in Electrical, Electronics and Computer Engineering, TAEECE 2013 - Konya, Turkey
Duration: 9 May 201311 May 2013

Publication series

Name2013 The International Conference on Technological Advances in Electrical, Electronics and Computer Engineering, TAEECE 2013

Conference

Conference2013 International Conference on Technological Advances in Electrical, Electronics and Computer Engineering, TAEECE 2013
Country/TerritoryTurkey
CityKonya
Period9/05/1311/05/13

Keywords

  • bit-array index
  • counting leading zeros
  • counting trailing zeros
  • linear complexity
  • permutations
  • sorting algorithm

Cite this