Re:CoffeeScript / Node.js - ticksort
by rgabo on Tuesday July 05, 2011 @12:11PM
(#2730361)
It takes SUM(argv) as opposed to MAX(argv) as originally stated, which was wrong.
Every argument will put itself back into the event loop (tick) N times until it actually prints the value so we need to SUM the values and not just take the MAX.
Is this an error, or is something done fundamentally different?
Every argument will put itself back into the event loop (tick) N times until it actually prints the value so we need to SUM the values and not just take the MAX.