GitHub - sugawarayuuta/charcoal: Faster utf8.Valid using multi-byte processing without SIMD.
Charcoal
Faster utf8.Valid using multi-byte processing without SIMD.
Features
Fast. Up to 50% faster than the standard library. See the benchmarks section.
Compatible. Its usage is the same as the standard library.
Well-tested. Fuzzing is actively done in addition to standard library's tests.
Installation
go get github.com/sugawarayuuta/charcoal
Benchmarks
The left side is the standard library, the right side is this library (Higher is better).
│ ./before.txt │ ./after.txt ...
Read more at github.com