Premature optimisation is the root of all evil.
~ Donald Ervin Knuth (1938-01-10 age:80)
The problem is fussing over fine detail to optimise wastes time and obscures the algorithm. Optimisation should be confined to choosing a good algorithm on the first pass. Only after the code is working should you fret over optimisation. Then, only if it needs it, determine the bottlenecks by measurement and fix only those.
Don’t do optimisations the compiler will do for you. That just clutters your code.
People often misapply the nostrum to imply that optimisation itself is evil. Only premature optimisation is.
This page is posted
Optional Replicator mirror
Your face IP:[184.108.40.206]
You are visitor number|