Looking for performance? Probably you should NOT use [].sort (V8)

1 · Minko Gechev · Nov. 24, 2012, midnight
A few days ago, I’ve created a GitHub repository. It’s main goal was to collect different algorithms with implementations in JavaScript. I started with basic ones – sorting (insertion, selection, bubble sort..). After that I implemented few “more advance” like marge, quick and heap sort. It was interesting to me how much slower my implementation will be compared to the default sort. It was so interesting because of: function sort() { [native code] } That’s why I’ve wrote not optimized version o...