retard wrote:
He forgot:

0. use a better algorithm (the big O notation matters, like in this case)

No, I didn't forget that. There's no benefit to using a better algorithm in the code that isn't the bottleneck. In my experience, even very experienced developers are nearly always wrong about where the bottlenecks are if they've never used a profiler.

Reply via email to