2 ms·
Sometimes when I'm doing some calculations I know the O(n^3) algorithm will run fast enough, but I also know that if I use the O(n.log n.log log n) algorithm th
by RiderOfGiraffes 17y ago
Sometimes when I'm doing some calculations I know the O(n^3) algorithm will run fast enough, but I also know that if I use the O(n.log n.log log n) algorithm then my laptop battery will last measurably longer. That matters on long journeys without power outlets.