delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/11/19:46:08

From: lhall AT rfk DOT com (Larry Hall)
Subject: Re: ls so slow
11 Dec 1998 19:46:08 -0800 :
Message-ID: <3.0.5.32.19981211181345.009db890.cygnus.gnu-win32@pop.ma.ultranet.com>
References: <852566D7 DOT 00551E9B DOT 00 AT nors01nms DOT moneynet DOT com>
Mime-Version: 1.0
To: "Richard Faber" <rfaber AT moneynet DOT com>, gnu-win32 AT cygnus DOT com

At 10:34 AM 12/11/98 -0500, Richard Faber wrote:
>
> "B20: ls so slow in large directories (NT 4.0)"
>
>I go to the bin directory of the Cygnus user installation...
>do ls ... it is pretty fast.
>Then I do ls -CF.... it is so slow.
>
>Other ls's I use can do ls -CF quite fast....
>
>cd /d/cygnus/cygwin-b20/H-i586-cygwin32/bin$  time ls -CF
>real    0m6.309s
>user    0m0.070s
>sys     0m6.169s
>
>
>Any info appreciated....
>


If you knew what you were asking it to do by specifying the "-F" flag 
and what it has to do to comply with that request, you wouldn't think 
it was so slow!;-)  In essence, any executable/symlink has to be stat'd, 
which in Win32 world means each one is opened first.  What "other" ls's
has you used?






Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02482-7797               http://www.rfk.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019