An open API service indexing awesome lists of open source software.

https://github.com/lapin0t/static-sort

compile-time sorting networks in rust
https://github.com/lapin0t/static-sort

Last synced: 7 months ago
JSON representation

compile-time sorting networks in rust

Awesome Lists containing this project

README

          

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.