Live data from Hacker News

Node.js Algorithm Modules

github.com

1–8 of 8 posts

Re: Node.js Algorithm Modules

#4
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

#5

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)

Yup! You should wrap Quicksort in a node module and PR us to add it to the list :)

Re: Node.js Algorithm Modules

#6

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)

Yup! You should wrap Quicksort in a node module and PR us to add it to the list :)

I might clean the code up and do that! :)