logoalt Hacker News

stingraycharleslast Tuesday at 2:25 PM0 repliesview on HN

You’re misunderstanding: you just convert to 32 bits once and reuse that same register all the time.

You’re running the exact same code, but are more more efficient in terms of “I immediately use the data for comparison after converting it”, which means it’s likely either in a register or L1 cache already.