Skip to content

Lapin0t/static-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some fun with procedural macros. Should implement fast static (short) length array sorting. Eg static_sort!(bose_nelson, 20, my_array);. The code generated is simply a sequence of compare/swap with fixed indexes. The compiler should optimize these to conditional move instructions if possible.

About

compile-time sorting networks in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages