4 ms·
Should be: inline unsigned utf8length(char c) { return(1+((LENTAB >> ((c>>3)*2)) & 3)); }
by Animats 9y ago
Should be:
inline unsigned utf8length(char c)
{ return(1+((LENTAB >> ((c>>3)*2)) & 3)); }
- Animats 9y agoCorrection: #define LENTAB (0x3a55000000000000)