Comment

Comment by londons_explore

Every time someone writes some really carefully micro-optimized piece of code like this, I worry that the implementation won't be shared with the whole world.

This code only makes people's lives better if many languages and frameworks that translates latin-1 to utf8 are updated to have this new faster implementation.

If this took 3 days to write and benchmark, then to save 3 days of human time, we probably need to get this into the hands of hundreds of millions of people, saving each person a few hundred microseconds.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton