Friday, April 21, 2006
5 Truths About Code Optimization
1) Start with working code and good tests or you are doomed.First make it work and have good unit tests to tell you so.2) Rest assured, you don't know where the problem isYour best guess as to what is making this program a pig is usually wrong. The only way to know is to run your code with a profiler and see which bits are the slow ones.3) There is always a long pole in the tent, but it is not