logoalt Hacker News

sltkryesterday at 8:18 PM0 repliesview on HN

You can also very trivially do (codepoint | 1).leading_zeros(), then you can also shave one byte off the LEN table. (This doesn't affect the result because LEN[32] == LEN[33] == 1).