3 ms·
Last week, I found an n^2 (actually n*m) loop in some graph drawing code. Reworked it to be 2n (actually n+m). Everything went better than expected.
by ramses0 15y ago
Last week, I found an n^2 (actually n*m) loop in some graph drawing code. Reworked it to be 2n (actually n+m). Everything went better than expected.