News for hackers. Stuff that matters.
Re:tolower() in bulk at speed by dietrichepp on Monday June 27, 2022 @08:01PM (#31902497)
The reason I didn’t mention unaligned load is because it can cross a page boundary and fault. With aligned loads, you can avoid this.

(Edit: The idea is that with an aligned load, you only load 16-byte blocks that contain valid data. This can’t page fault, but you can load data you didn’t want, which is ok. Writing is trickier because the write may have to be atomic and can’t spill.)

There are no comments on this comment yet.