StringZilla uses a heuristic so simple it's almost stupid... but it works. It matches the first few letters of words with hyper-scalar code to achieve speeds. The implementation fits into a single C 99 header file and uses different SIMD flavors and SWAR on older platforms.
Sort: