[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for fields of `struct buffer'
From: |
Jim Meyering |
Subject: |
Re: Patch for fields of `struct buffer' |
Date: |
Wed, 09 Feb 2011 11:16:03 +0100 |
Tom Tromey wrote:
>>>>>> "Paul" == Paul Eggert <address@hidden> writes:
>
> Tom> It is rather slow. On my laptop it takes 10 seconds to scan src/*.c.
> Tom> This would have to be done with every change to a .c file.
>
> Paul> Prepending "/DEFVAR_/!d" to the script sped it up
> Paul> by a factor of 8 on my server; it then ran in
> Paul> 0.142 seconds real-time.
>
> Thanks.
>
> Can I use 'sort -u' or 'uniq' in GNU Makefiles these days?
> Testing my script revealed that some things are DEFVAR'd twice.
Yes, but you may want to ensure use of the C locale so the result is
the same for everyone. We have this in coreutils, but I don't
particularly like the variable name:
# Sort in traditional ASCII order, regardless of the current locale;
# otherwise we may get into trouble with distinct strings that the
# current locale considers to be equal.
ASSORT = LC_ALL=C sort
Re: Patch for fields of `struct buffer', Richard Stallman, 2011/02/01
Re: Patch for fields of `struct buffer', Richard Stallman, 2011/02/01
Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/01
Re: Patch for fields of `struct buffer', Andreas Schwab, 2011/02/01
Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/01
Re: Patch for fields of `struct buffer', Tom Tromey, 2011/02/08
Re: Patch for fields of `struct buffer', Stefan Monnier, 2011/02/08