SkillAgentSearch skills...

RadixSort

C implementation of merge sort, radix sort and parallel radix sort on 32 bit unsigned integers

Install / Use

/learn @983/RadixSort
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

C implementation of merge sort, radix sort and parallel radix sort on 32 bit unsigned integers

Performance of qsort and merge sort degrades as data becomes more unordered, while running time of radix sort is much less affected.

Parallel radix sort is only worth it if the number of elements is large.

Tested on an i5-4210U with 2 cores. Algorithm will scale gracefully with higher number of cores.

For very small arrays, qsort, merge sort and sorting networks should be favoured over radix sort.

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated1y ago
Forks5

Languages

C

Security Score

75/100

Audited on Aug 12, 2024

No findings