On Sat, 23 Aug 2025 16:34:11 +0100, Colin Paice <colinpai...@gmail.com> wrote:

>Few people should be looking at the instruction level that is being discussed.

It's better to learn these concepts now because you don't want to be learning 
these concepts on the day you are told to optimize a program. We live in the 
age of Intune, Strobe and probably others where you can easily figure out where 
CPU might be wasted. 

I'm not recommending you squeeze every penny out of your code but you only 
learn by occasionally practicing these concepts. Are you hurting your code or 
wasting your time by this practice? Only you can answer that.

Understanding basic concepts are important. Understanding when those concepts 
are valuable is important. Inline constants presents an important concept that 
few will use. But it helps you understand the pipeline, instruction cache and 
other concepts. For instance, maybe it gets you to think about the order of 
your instructions which costs you little effort. Maybe it gets you to think 
about how frequent something is called.

Reply via email to