Repository navigation
- PHP 8.2+, ext-mbstring declared
- Hamming rejects invalid UTF-8
- Cosine results clamped to range, mismatched vector keys compared by position
- All algorithms split strings once, DP classes use rolling rows (Levenshtein 2000 chars: 8950 ms / 70 MB to 163 ms / 0.3 MB)
- CI for PHP 8.2-8.5, phpunit.xml.dist, LICENSE, .gitattributes