bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Pádraig Brady
Subject: bug#81620: [PATCH v2] cut: speed up -w in UTF-8 locales
Date: Wed, 19 Aug 2026 20:57:30 +0100
User-agent: Mozilla Thunderbird Beta

On 19/08/2026 20:54, Collin Funk wrote:
Pádraig Brady <P@draigBrady.com> 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 coreutils@gnu.org.
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]