3 ms·
That is why the rewording I use is "First make it right, then make it fast". If you make it fast first, then that is premature optomization.
by wglb 17y ago
That is why the rewording I use is "First make it right, then make it fast". If you make it fast first, then that is premature optomization.
- ajross 17y agoBut that's just saying the same thing. The point being made above is that working "correctly" simply isn't enough if performance is a design goal too (or rather, correct operation requires that the software meet the performance goals at design time). So if you start out working on only half the problem, you'll still fail.
- wglb 17y agoMy experience has shown me that it is very difficult to know where the performance bottlenecks are without measurement. You can't measure it if you haven't built it, and if it is not correct, why bother? I have always taken this to mean what the original "premature optimization" quote is all about. I felt that making the statement a little simpler helps my focus.