bug#81620: [PATCH v2] cut: speed up -w in UTF-8 locales
From:
Collin Funk
Subject:
bug#81620: [PATCH v2] cut: speed up -w in UTF-8 locales
Date:
Wed, 19 Aug 2026 12:54:21 -0700
User-agent:
Gnus/5.13 (Gnus v5.13)
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.
Collin