From: nobu.nokada@... Date: 2002-03-20T02:14:45+09:00 Subject: Re: file reading impossibly slow? Hi, At Wed, 20 Mar 2002 00:52:09 +0900, Bob Alexander wrote: > Also, I've got code that compares directories (entry existance and dates) > for file syncing purposes, and the performance compares differently from > line-by-line reading: > > o Under Linux -- fine. > o Under mswin32 -- fine. > o Under cygwin -- *unreasonably* slow, slower than mswin32 by an order of > magnitude. It's well-known that Cygwin's stat() is slow. It checks #! in first lines for all files under Win9x. If you use WinNT, including W2k(= NT 5.0) and WinXP(= NT 5.1), it improves by setting `ntsec' or something (sorry, I forget) in CYGWIN environment variable. -- Nobu Nakada