@mbostock: Why is there Dart code in the project? Just because that's where you borrowed one of the sort functions from?
Thanks for another useful library!
Thanks for another useful library!
https://github.com/square/tesseract/blob/master/src/quicksor...
By the way, quicksort.js is code you wrote, right? I assume that's too nice and concise to be from the Dart generator...
https://github.com/jasondavies/radixsort.js
I haven't finished implementing the Float64Array version, but it beats everything else I've compared it with even for relatively small sizes e.g. my benchmark is 65,536 floats and it's already around 2.5x faster than native sort (using Node.js)! Admittedly, Float32Array vs. native sorting of 64-bit floats is not a fair comparison, but you could argue that many applications would get away fine with 32-bit floats anyway. :)