bug#81620: [PATCH v2] cut: speed up -w in UTF-8 locales

Collin Funk <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
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].

Collin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.