Sorts of Coffee is a collection of sorting algorithms, written in CoffeeScript and compiled to JavaScript. The list currently includes:
While benchmarking I have received the following speed results:
- Native [].sort took 4.25ms
- Quicksort took 2.33ms
- Mergesort took 45.64ms
- Bubblesort took 1644.50ms
- Insertion sort took 129.75ms
- Shell sort took 2.70ms