+Dscho On Thu, Feb 24, 2011 at 10:45:33AM +0100, Erik Faye-Lund wrote: > On Thu, Feb 24, 2011 at 1:32 AM, Ævar Arnfjörð Bjarmason > <avarab@xxxxxxxxx> wrote: > > And then there's the issue that unlike the C patches these will not be > > a no-op that'll be optimized away by the compiler. We'll be calling an > > external program for displaying messages. While this is a trivial cost > > on Unix (especially in the context we're using it, i.e. not in tight > > loops) it's more expensive on Windows. > > > > Ouch. I remember this being brought up earlier, but I just assumed it > had been fixed somehow. The shell-scripts are already pretty slow on > Windows, and the overhead of starting a new process here is quite > significant. Johannes, can we please try my patch[1] for msys.dll not to load user32.dll for every msys program (i.e. sh.exe too)? Combined together with 3 clipboard functions removal (details in [2]) from sh.exe, I bet this will result in significantly faster shell startup, configure runs, etc... This days I have lack of access to windows machines, only wine, so I desperately need someones help to at least first rebuild msys.dll. Thanks, Kirill [1] http://repo.or.cz/w/msys/kirr.git/commitdiff/f7d7efebd35e8e5bf6d685ff4f1197941984be04 [2] http://repo.or.cz/w/msys/kirr.git/commitdiff/a97bed5d22f9c05f39776d8ea7856db4ce572dc5 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html