Released Sorting Algorithms. V. 1.02
Bobb Fwed
Posts: 1,119
In 1.02, I added PASM version of Shell Sort.
For decimals, it is up to 66 times faster than the SPIN version. For strings, it is up to 60 times faster.
Interface to the PASM routine is the same as the SPIN methods.
It temporarily launches a cog to sort the array, then shuts itself down when it's done.
Download it here: http://obex.parallax.com/objects/715/
For decimals, it is up to 66 times faster than the SPIN version. For strings, it is up to 60 times faster.
Interface to the PASM routine is the same as the SPIN methods.
It temporarily launches a cog to sort the array, then shuts itself down when it's done.
Download it here: http://obex.parallax.com/objects/715/