Le 16/12/2011 13:02, Thiago Macieira a écrit : > On Friday, 16 de December de 2011 08.47.24, Yves Bailly wrote: >> Maybe split it in two or more "sub-libraries"? > > It's already split into multiple convenience sub-libraries. But the LTCG > compiles them all into a DLL at the final link time and that is too big. > > The only possibility to fix this would be to break into multiple DLLs. I am > completely opposed to that, as I expect the load time related to so many > symbols and relocations to be higher.
I can understand that. However, just for information, I'm currently working on a rather large piece of software which loads around 200 DLLs on startup (that's 80MB loaded from disk). The first, cold start can actually be a bit long, around 10s-15s on currently medium hardware. The second and next ones are way faster, thanks to system's cache, around 2s-4s - counting all the other actions we're performing aside from just loading DLLs. This behaviour has been observed since WinXP (maybe Win2k, not sure), I guess it would be similar on Linux and others. Anyway, I guess it's only one more sign of the whole world moving to 64bits ;-) Regards, -- /- Yves Bailly - Software developper -\ \- Sescoi R&D - http://www.sescoi.fr -/ "The possible is done. The impossible is being done. For miracles, thanks to allow a little delay." _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest