If you think that a specific routine or algorithm is memory bound, you should always do a quick benchmark to check this assumption.
In practice everything is memory bound because of course the CPU is faster than memory, but you'd be surprised by how difficult it can be to reach the full CPU capacity.
"Memory bound" or "Network bound" are way too frequently used as poor excuses by lazy coders.
In practice everything is memory bound because of course the CPU is faster than memory, but you'd be surprised by how difficult it can be to reach the full CPU capacity.
"Memory bound" or "Network bound" are way too frequently used as poor excuses by lazy coders.