I came cross these sentences today:
When you write your code, you might end up with a chunk of code that is no longer used but still part of the program. Watch out for cases like these: remember that every line of code involves some work by the CPU and oftentimes a read or write to memory.
And I wonder what the construction "involves some work by the CPU and oftentimes a read or write to memory" means. Which of the following would you say is closer in meaning to it?
a) Every line of code involves some work by the CPU. And oftentimes, every line of code involves a read or write to memory.
b) Every line of code involves some work by the CPU. And oftentimes, the work involved is a read or write to memory.
I am confused because, theoretically, accessing memory is indeed one of the jobs of a CPU.