For speed, try setting LC_ALL='C'.
An all-ASCII pattern can match non-ASCII data. For example, the pattern
'a.b' can match the string 'aΓb'. So it's not clear to me that the patch
is correct in general.
- bug#51231: increase performance and usability of binary searc... Carlo Arenas
- bug#51231: increase performance and usability of binary ... Paul Eggert
- bug#51231: disregard patch Carlo Arenas
- bug#51231: disregard patch Jim Meyering