Mail Archives: djgpp-workers/2001/12/27/11:19:20
On Thu, 27 Dec 2001, Tim Van Holder wrote:
> Yes, but it's no different for Win32 apps; "dir \\foo\bar" also takes
> a long time to return, and having UNCs in PATH can _really_ slow the
> command prompt down. It's a fact of live with UNCs; I don't why we
> should try to do better than the OS in that respect.
I don't care about the likes of "ls \\foo\bar"; that was just a quick
(or, rather, a slow ;-) way to demonstrate what could happen. My real
concern is for programs that issue equivalent system calls: if you add to
them some loop which walks all the possible devices trying to find the
mapping, you will slow down the system calls to a crawl.
Not even a floppy is that slow, and with floppy, at least you hear it
grinding, which gives you some clue about what's going on...
- Raw text -