-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 10 Mar 2003 15:20:24 +0100, Fulajtár Pál wrote: > >On Red Hat Linux 8.0, try again with > > > > export LC_ALL=C > > time zgrep pattern1 any.txt | grep pattern2 > > > >Just curious... > > > > > real 0m9.112s (instead of minutes....) > user 0m7.486s > sys 0m1.209s > > Significant increase! I would never find out this language setting > without you! It's due to Unicode (UTF-8 as of Red Hat Linux 8.0) that "grep" takes nearly a 100 times longer than without Unicode. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+bLDd0iMVcrivHFQRAl6AAJ91uYc3IR7Z+3SsajPgYOkS8HITUQCfc+NK zTzEfaODXixYWGVnMpAfBa0= =vg0G -----END PGP SIGNATURE----- -- Psyche-list mailing list Psyche-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/psyche-list