4 ms·
Sometimes that doesn't help. At work we were debugging why a process that is usually quite fast (< 5min) was taking close to 2 hours once we got to the load we
by jeffasinger 10y ago
Sometimes that doesn't help.
At work we were debugging why a process that is usually quite fast (< 5min) was taking close to 2 hours once we got to the load we predict for this coming fall.
We noticed the box it was running on was running out of memory, so we assumed resizing it to have ~4x the RAM would help, but surprisingly it didn't. The actual answer turned out to be algorithmic, and we were able to rewrite it to use an O(n) algorithm rather than an O(n^2) algorithm.