Premature optimisation is the root of all evil.
~ Donald Ervin Knuth (born:1938-01-10 age:78)
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:[188.8.131.52]
You are visitor number|