Get the latest tech news

Don't stop early: Case-folding source code at memory speed


How a branch-free loop and byte-space arithmetic let GitHub case-fold every byte of code search at >45 GiB/s on a single core.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Case

Case

Photo of memory speed

memory speed

Photo of folding source code

folding source code

Related news:

News photo

Sam Altman is still making the case for parenting via ChatGPT

News photo

Musk went to “war,” sought jail time for X ad boycotts—but case ends with a whimper

News photo

Veeam adds support for six more hypervisors in case you are up for a new one