Skip to content

C++ implementations of textbook integer sorting algorithms (with a view to inclusion in Boost).

License

Notifications You must be signed in to change notification settings

jeremy-murphy/integer-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

integer-sort

C++ implementation of textbook integer sorting algorithms (with a view to inclusion in Boost).

The C++ standard library includes comparison sort functions, which run in Ο(n lg n) time. Counting sort algorithms can sort in Θ(n). See CLRS for details.

Currently, there is a stable counting-sort, unstable in-place counting-sort and a stable LSD radix sort.

Feedback

I'm really keeen to get feedback from people at the moment! The main step for testing is to calculate the min and max values in your input that become the min and k parameters. Oh and making a function object to convert your input type to an unsigned integral type, if the input type is not unigned integral already. Thanks, cheers.

Jeremy Murphy [email protected]

About

C++ implementations of textbook integer sorting algorithms (with a view to inclusion in Boost).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages