logoalt Hacker News

0xdecrypttoday at 1:09 PM1 replyview on HN

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.


Replies

rasztoday at 9:44 PM

I 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