Re: Make on XP - shell selection?
Benoit SIGOURE <[email protected]>
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
PGP.sig
(application/pgp-signature, 186 B) - not displayed