[prev in list] [next in list] [prev in thread] [next in thread]
List: cygwin
Subject: RE: ls taking too long
From: "Chris January" <chris () atomice ! net>
Date: 2004-12-08 14:15:31
Message-ID: 200412081416.iB8EGWeF000581 () mailer ! progressive-comp ! com
[Download RAW message or body]
> If a directory contains a large number of files (I have
> >40000) where most of them are named such that the first
> character is a "1" and you do an "ls x*" where only one of
> the files begin with x, the ls takes an inordinate amount of
> time, but going to a plain dos window and "dir e*" is really fast.
The cmd/dos window's filename filtering is done in the kernel, whereas
Cygwin's is done in user mode so every file is processed.
Chris
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic