Re:.NET and Node.JS – Performance Comparison
by meryn on Friday March 29, 2013 @10:35AM
(#5460919)
Thinking this through some more, using sort with a comparator function would be unnecessary slow. Given the objective of the algoritm (return a median), it's much better to convert the array of strings to an array of floats (or ints, whatever he wants) first.
[ Parent
| on HN ]