www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/11/17:57:01

From: iverson AT cisco DOT com (Tim Iverson)
Subject: Re: Shell script performance
11 Dec 1997 17:57:01 -0800 :
Message-ID: <199712120017.QAA09228.cygnus.gnu-win32@stars.cisco.com>
References: <01BD063B DOT E880E380 AT rodney DOT wg DOT icl DOT co DOT uk>
Mime-Version: 1.0
To: kh AT wg DOT icl DOT co DOT uk (Kevin Hughes)
Cc: gnu-win32 AT cygnus DOT com

If you're running stock b18, I'd guess stat(), not fork/exec (though
fork/exec is really slow, too).  Last I checked, stat() actual opens each
file and reads a few bytes to check for symbolic links.  IMHO, this is an
incredible waste of time, especially considering that W95/NT already has a
defined symbolic link standard (.lnk files).

I strongly suspect this has changed in b19 and probably Sergey's code, since
I recall that this whole topic was beaten to death and finally resolved
about 6 months ago.


- Tim Iverson
  iverson AT lionheart-com



+----------------
| From: Kevin Hughes <kh AT wg DOT icl DOT co DOT uk>
| To: "Gnuwin95 (E-mail)" <gnu-win32 AT cygnus DOT com>
| Subject: Shell script performance
| Date: Thu, 11 Dec 1997 13:51:39 -0000
| 
[paraphrased: cygwin32 bash is incredibly slow + some examples]
-
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