2 ms·
"Inefficiency/waste" and "slack" are very different things. "Waste" is running an O(n^2) algorithm on a task that already has O(n logn) solutions suitable for
by inglor_cz 5y ago
"Inefficiency/waste" and "slack" are very different things.
"Waste" is running an O(n^2) algorithm on a task that already has O(n logn) solutions suitable for the same dataset.
"Slack" is having 100 USD cash in your pocket even if you do not immediately plan to spend them.