News for hackers. Stuff that matters.
Re:Node.js Algorithm Modules by thomasfoster96 on Monday January 05, 2015 @01:41AM (#8837627)
The built in sorting algorithm (apparently it's mergesort in most browsers) in most implementations of JavaScript is often a little bit slow, so more sorting algorithms that people have implemented is a good thing. (I actually implemented Quicksort in Javascript and got about 5x better performance than Chrome's sort algorithm)
Re:Node.js Algorithm Modules by tejas-manohar on Monday January 05, 2015 @02:23AM (#8837717)
Yup! You should wrap Quicksort in a node module and PR us to add it to the list :)
Re:Node.js Algorithm Modules by thomasfoster96 on Monday January 05, 2015 @03:42AM (#8837901)
I might clean the code up and do that! :)