Gentoo Archives: gentoo-dev

From: "leon j. breedt" <ljb@×××××××××.org>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] rc-scripts speedup
Date: Sun, 20 Apr 2003 00:32:59
Message-Id: 20030420003917.GB32124@jeddah.neverborn.ORG
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Sat, Apr 19, 2003 at 11:26:16AM -0700, Eric Andresen wrote:
5 > Whoops, I was posting from the wrong address.
6 >
7 > Two things.. using a few methods of making LC_ALL=C for grep/awk only,
8 > none of them had any significant change in startup time one way or the
9 > other.
10 >
11 > Second, wouldn't it be a lot easier to just alias grep and awk to
12 > "LC_ALL=C grep" and likewise for awk within runscript.sh?
13 well, i went for the all-out approach, and replaced every invocation
14 with LC_ALL=C <cmd>, and did the export LC_ALL=C before all occurences
15 of "x start|stop". it felt a bit faster..i'm going to revert to the
16 existing rc-scripts and see if i can feel a difference.
17
18 have you tried using the rc-scripts i attached to the bug report?
19
20 i don't think just exporting LC_ALL=C in just one place is sufficient, i'm
21 sure it gets dropped on the floor a few times.
22
23 also, will an alias be inherited by everything thats executed down the
24 line?
25
26 leon
27
28 - --
29 in the beginning, was the code.
30
31 -----BEGIN PGP SIGNATURE-----
32 Version: GnuPG v1.2.1 (GNU/Linux)
33
34 iD8DBQE+oew1RWcl5mzp4f4RAphEAJ0QU/cF2yG8DL5s2BoEVWcUYw2XagCeMv3m
35 Tg/7SqGpWaVaflTTLWO/PW8=
36 =L6VK
37 -----END PGP SIGNATURE-----
38
39 --
40 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] rc-scripts speedup - or not :/ "leon j. breedt" <ljb@×××××××××.org>