[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort 5.2.1 is VERY slow
From: |
Andreas Schwab |
Subject: |
Re: sort 5.2.1 is VERY slow |
Date: |
Tue, 01 Mar 2005 21:27:18 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) |
address@hidden writes:
> Taking this example again:
>
> grep "konnect 1" Out_konnect | sort --key=4 -n
>
> "konnect 1" is a fixed ascii string, hence
> grep can automatically do LANG=C and -F
It cannot do the former. There are encodings where bytes that look like
plain ASCII are in fact part of a multibyte sequence. But it may be
worthwhile to special case UTF-8 which does not have this problem.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."