Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: 2x-4x faster strlen() in C (gist.github.com)
19 points by bjourne on July 13, 2023 | hide | past | favorite | 3 comments



Faster but only for strings larger than hundreds of megabytes?


That's pretty bizarre optimization, how does this not get throttled by the thread calls?


This is what I love about undefined behaviour!

It allows you to <ERROR_CONNECTION_LOST>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: