Hacker News new | ask | show | jobs
by masklinn 376 days ago
In Python this is going to be slow, as you’ll have a ton of Python code in your hot loop.

It’s also going to be even more broken than TFA if any non-ascii character is present in the string.