News for hackers. Stuff that matters.
Re:tolower() in bulk at speed by sedatk on Monday June 27, 2022 @06:02PM (#31901430)
"labels are frequently less than 8 bytes long, and therefore fit inside a 64-bit register. So it probably isn’t worth dealing with the portability issues of working with wide vector registers (Especially since I could not find a quick way to load an arbitrary number of bytes into a vector register with AVX2 nor with NEON.)"
Re:tolower() in bulk at speed by dragontamer on Monday June 27, 2022 @06:04PM (#31901454)
DNS labels like "ycombina" (tor) you mean? :-)
Re:tolower() in bulk at speed by fanf2 on Monday June 27, 2022 @06:13PM (#31901556)
Two out of three ain’t bad :-)

news.ycombinator.com

Re:tolower() in bulk at speed by cratermoon on Monday June 27, 2022 @09:23PM (#31903037)
Just off the top of my head, I'm betting that 9 out 10 of the most visited internet domains are 8 bytes or less. google, facebook, twitter, youtube, baidu, yahoo. I think instagram might be one of the few that isn't 8 bytes. That's not counting URL shorteners, either.