Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize text encoding detection for speed (eliminate Unicode propert…
…y lookups) ...By just testing the input codepoints if they are within a few fixed ranges instead. This avoids hash lookups in property tables. From (micro-)benchmarking on my PC, this looks to be a bit less than 4x faster than the existing code.
- Loading branch information