Record the -L probe fix in the multibyte table
ASCII under a UTF-8 locale was reading the file twice for one number; it now sits at 9.5 ms, a shade ahead of the Rust clone and the same as the C locale. The lightly multibyte row is quoted as a range because two runs a minute apart disagree by 13%.
This commit is contained in:
+2
-1
@@ -212,7 +212,8 @@ the fast path never guesses. 100 MB under `en_US.UTF-8`:
|
|||||||
| case | before | after | Rust clone | GNU |
|
| case | before | after | Rust clone | GNU |
|
||||||
|------|-------:|------:|-----------:|----:|
|
|------|-------:|------:|-----------:|----:|
|
||||||
| words, lightly multibyte | 6.8 ms | **5.5 ms** | 6.2 ms | 224 ms |
|
| words, lightly multibyte | 6.8 ms | **5.5 ms** | 6.2 ms | 224 ms |
|
||||||
| longest line, lightly multibyte | 26.2 ms | **9.1 ms** | 11.6 ms | 223 ms |
|
| longest line, lightly multibyte | 26.2 ms | **9-10 ms** | 11.6 ms | 223 ms |
|
||||||
|
| longest line, ASCII under UTF-8 | 21.7 ms | **9.5 ms** | 10.2 ms | 218 ms |
|
||||||
| characters, dense CJK | 46.2 ms | **7.6 ms** | 18.7 ms | 458 ms |
|
| characters, dense CJK | 46.2 ms | **7.6 ms** | 18.7 ms | 458 ms |
|
||||||
| words, dense CJK | 55.8 ms | **8.6 ms** | 6.8 ms | 464 ms |
|
| words, dense CJK | 55.8 ms | **8.6 ms** | 6.8 ms | 464 ms |
|
||||||
| longest line, dense CJK | 59.1 ms | **43.1 ms** | 33.7 ms | 587 ms |
|
| longest line, dense CJK | 59.1 ms | **43.1 ms** | 33.7 ms | 587 ms |
|
||||||
|
|||||||
Reference in New Issue
Block a user