[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fts: make find *much* faster on dirent.d_type-challenged FS
From: |
Simon Josefsson |
Subject: |
Re: fts: make find *much* faster on dirent.d_type-challenged FS |
Date: |
Fri, 13 Feb 2009 13:04:17 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> Simon Josefsson <address@hidden> wrote:
>> Jim Meyering <address@hidden> writes:
>>> I vaguely recall feeling a slight twinge as I did that,
>>> but since coreutils proper has been using decl-after-stmt,
>>> for so long, I let it slide.
>>
>> How does that work? Do most compilers out there really support
>> decl-after-stmt (not likely?!), or do you offer a patch for users with
>> older compilers?
>
> I used to maintain a patch, src/c99-to-c89.diff, that would perform the
> conversion, but stopped 4 or 5 months ago. It was not worth the trouble.
>
> So far, no one has complained.
Interesting!
I'll sneak in one decl-after-stmt in some of my projects and see if
anyone complains too. Using decl-after-stmt can improve code
readability so if it is possible to use, I'd like to make more use of
it.
/Simon
- fts: make find *much* faster on dirent.d_type-challenged FS, Jim Meyering, 2009/02/12
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Ralf Wildenhues, 2009/02/13
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Karl Berry, 2009/02/13
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Eric Blake, 2009/02/13
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Matthew Woehlke, 2009/02/19
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Karl Berry, 2009/02/19
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Matthew Woehlke, 2009/02/19
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Tom G. Christensen, 2009/02/27
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Eric Blake, 2009/02/28
- Re: fts: make find *much* faster on dirent.d_type-challenged FS, Tom G. Christensen, 2009/02/28