10 ms·
256 KB of code to zero 64 KB of memory is the kind of optimization that makes you question every life choice that led to it.
by 0xdecrypt 3mo ago
256 KB of code to zero 64 KB of memory is the kind of optimization that makes you question every life choice that led to it.
- rasz 3mo agoI blame Intel. It took them 33 years (ERMSB) to finally standardize REP MOVSB as _the_ fast path. Another 10 years passed and someone discovered https://lock.cmpxchg8b.com/reptar.html https://lock.cmpxchg8b.com/reptar.html