make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make on XP - shell selection?


From: Benoit SIGOURE
Subject: Re: Make on XP - shell selection?
Date: Tue, 23 Oct 2007 09:39:54 +0200

On Oct 22, 2007, at 11:06 PM, Eli Zaretskii wrote:

That'd be a terrible
cycle killer, because this function would be called on each command
invocation.

But no. Compared to what it takes the OS to spawn (and run!) a process,
one path search more or less wont make even the slightest difference.

How long is your Path?  On a typical Windows machine, it tends to be
quite long, what with all kinds of packages that add to it at will.
It's nothing as short as "/usr/bin:/usr/local/bin" on Unix.

AFAIR, in this talk http://archive.fosdem.org/2007/schedule/events/ profiling_desktop_apps they show how they discovered that Gnome applications had a bottleneck in the code that ... loads the Gnome icons. They had a huge list of paths to search and it *considerably* increased the application start-up time. So yes, I wouldn't be surprised if doing one PATH search per command would considerably slow down `make'.

--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory


Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]