daurnimator 5843a6e3bc
std: optimise utf8ByteSequenceLength
Also tested (but not as fast):
```zig
pub fn utf8ByteSequenceLength(first_byte: u8) !u3 {
    const len = @clz(u8, ~first_byte);
    if (len == 0) return 1;
    if (len < 4) return @intCast(u3, len);
    return error.Utf8InvalidStartByte;
}
```
2019-12-28 14:39:38 +11:00
..
2019-09-25 23:35:41 -04:00
2019-12-22 02:27:23 -05:00
2019-11-25 13:53:13 -05:00
2019-11-08 15:57:25 -05:00
2019-09-25 23:35:41 -04:00
2019-12-11 02:08:33 -05:00
2019-12-22 02:27:23 -05:00
2019-11-08 15:57:24 -05:00
2019-09-25 23:35:41 -04:00
2019-11-08 15:57:24 -05:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2019-12-22 21:45:26 -06:00
2019-11-29 21:55:27 -05:00
2019-11-01 22:42:25 -04:00
2019-12-20 18:28:59 -05:00
2019-09-25 23:35:41 -04:00
2019-10-11 18:13:24 -04:00
2019-09-25 23:35:41 -04:00
2019-11-12 17:55:54 +02:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2019-12-16 11:09:10 -05:00
2019-12-20 18:28:59 -05:00
2019-12-22 21:45:26 -06:00
2019-09-25 23:35:41 -04:00
2019-12-22 21:45:26 -06:00
2019-11-08 15:57:24 -05:00
2019-09-25 23:35:41 -04:00