News for hackers. Stuff that matters.
Re:A 100LOC C impl of memset, that is faster than glibc's by stephc_int13 on Friday November 12, 2021 @09:20AM (#29199475)
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.

There are no comments on this comment yet.