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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Lapin0t/static-sort
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
compile-time sorting networks in rust
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published