This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Time taken for ls -la --color=yes

At 01:26 PM 3/8/99 -0500, Henry J. Cobb wrote:
>Doesn't LS take a lot of time to count the entries in every subdirectory it
>encounters (even when it never lists them) just in order to fill out the
>stat structures it then throws away?

Perhaps you can tell us, since you seem to imply that you know something
about the way ls works.  If it does work exactly as you suggest, then I
would say there is cause to be concerned about ls, although that comment
is based solely on yours and my incomplete understanding as to why ls would
do this.  Of course, if ls is doing this, it is outside the realm of
the cygwin DLL, since it only provides services to ls.  In this case, a
patch may need to be made to ls and, quite possibly, for cygwin only.
However, without more information, its hard to pursue the idea that either
ls or cygwin could be patched to make ls faster...

Larry Hall                   
RFK Partners, Inc.                     (781) 239-1053
8 Grove Street                         (781) 239-1655
Wellesley, MA, 02482-7797    

Want to unsubscribe from this list?
Send a message to