Skip to content

Experiments with Radix Sorting Strings in C and C++

License

Notifications You must be signed in to change notification settings

eloj/radix-string-sorting

Repository files navigation

Experiments with Radix Sorting Strings in C and C++

Various MSD radix sorting implementations, for fun and evaluation.

The plan is for some to eventually join my Notes on Radix Sorting and Implementation repository.

All code is provided under the MIT License.

Variant synopsis

  • CE is for Count, External memory.
  • CI is for Count, In-place.
  • CB have merged C (count) and B (bucket) arrays.
  • BM Use bitmaps for loop iteration.

Notes

None of the current implementations are really competitive, especially considering the extra space for the non-inplace variants. For sure, the memory access pattern is suboptimal for modern architectures, especially at relatively low radixes (i.e 8 bits).

About

Experiments with Radix Sorting Strings in C and C++

Topics

Resources

License

Stars

Watchers

Forks