bug#81620: [PATCH v2] cut: speed up -w in UTF-8 locales
Pádraig Brady <[email protected]>
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 19/08/2026 20:54, Collin Funk wrote: > Pádraig Brady <[email protected]> writes: > >> BTW if you know the data will only have ASCII spacing, >> one can use LC_ALL=C to get the performant byte-search. >> It's probably worth mentioning that in the texinfo. >> I'll do that now with: > > It is probably worth mentioning this as often as possible. > > I feel like I commonly see people create alternative programs that claim > to be faster than X program from coreutils, using ASCII data and a non-C > locale to benchmark. The alternative program could very well still be > faster if LC_ALL=C were set, but it is still a bit misleading. > > Perhaps that is one area where examples could help. I remember seeing > discussion about adding more previously on [email protected]. Yes good point. There are various subtle/common combinations of settings, where examples can really help to summarize. I'll keep that in mind for when we add those