Repository navigation
radix
Public
About
A fast string sorting algorithm (MSD radix sort)
Topics
go golang radix-sort sorting-algorithms string-sorting
Resources
Readme
BSD-2-Clause license
Activity
Custom properties
Stars
195 stars
Watchers
7 watching
Forks
11 forks
Report repository
Branches
Tags
Go to Branches page Go to Tags page
Latest commit
History
63 Commits
View commit history for this file.
Folders and files
Repository files navigation
Your basic radix sort
A fast string sorting algorithm
This is an optimized sorting algorithm equivalent to sort.Strings
in the Go standard library. For string sorting, a carefully implemented
radix sort can be considerably faster than Quicksort, sometimes
more than twice as fast .
MSD radix sort
A discussion of MSD radix sort , its implementation and a comparison
with other well-known sorting algorithms can be found in
Implementing radixsort . In summary, MSD radix sort
uses O(n) extra space and runs in O(n+B) worst-case time,
where n is the number of strings to be sorted and B
is the number of bytes that must be inspected to sort the strings.
Installation
Once you have installed Go , run the go get command
to install the radix package:
go get github.com/yourbasic/radix
Documentation
There is an online reference for the package at
godoc.org/github.com/yourbasic/radix .
Roadmap
Stefan Nilsson - korthaj
About
A fast string sorting algorithm (MSD radix sort)
Topics
go golang radix-sort sorting-algorithms string-sorting
Resources
Readme
BSD-2-Clause license
Activity
Custom properties
Stars
195 stars
Watchers
7 watching
Forks
11 forks
Report repository
Releases
Packages
Used by
Contributors
Languages