Ideally, code should be functional, AND quick, but realistically, it seldomly works out that way.
So, the first step to any program should be to make it work. Then you worry about optimizing the code. Complete the code, and figure out where the bottle necks are, and focus your attention on those areas. Otherwise, you waste your time. There's no point optimizing that image loading code to get an extra 20us if the image only loads on the screen once in the entire life of the program.
__________________
"A witty saying proves nothing"
- Voltaire
|