Tootfinder

Opt-in global Mastodon full text search. Join the index!

@beeb@hachyderm.io
2025-10-18 19:56:12

New article on the blog!
This time, it's about how I optimized an algorithm which turns byte offsets into line/column numbers and UTF-16 offsets.
Most of the performance improvement came from the use of SIMD to efficiently count ASCII characters.
#rust #RustLang #SIMD #optimization #blog