Re:Comparing k-NN in Rust
by thinkpad20 on Wednesday June 11, 2014 @11:37AM
(#7878547)
And here's one that runs in half that time (or possibly less if you have a lot of cores)[1]. Speedups due to suggestions in this thread[2].
EDIT: now runs in parallel and is faster than the Rust single-threaded version, and on par with the parallel Rust version, but only ~35 lines.
[2] http://www.reddit.com/r/haskell/comments/27tcvz/knearest_nei...
[1] http://lpaste.net/105413