Tag Archives: code

Code Optimization Rules

It is common for developers to worry about optimization while doing initial programming. Some write extremely complex code in the belief that it is optimized. Unfortunately, this code is often slower than it might otherwise be. Additionally, the compiler may be unable to optimize the code. I find optimization is rarely necessary and effective optimizations are difficult to predict.

This post present the my optimization rules. Future posts will present the techniques I use to avoid optimization, and perform optimization when needed. Continue reading