[Mono-list] suggestion: rebase DLLs might improve load times

a b11112 ab11112@hotmail.com
Tue, 27 Aug 2002 14:02:53 +0200


I noticed that all the DLLs in \install\lib have
the same base address (0x00400000). There is
a chance that this leads to non-negligible load
time increases because the OS needs to relocate
them at load time. Research results at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndllpro/html/msdn_pagetest.asp

Simplest way to do this is by adding the
following link option:

/BASE:0xZZ000000

where ZZ is some 256-bit hash e.g. derived from
the DLL's name.

Mind you, I didn't actually test if this would
make any difference in this case, but even
though it may not, it doesn't hurt either.

Cheers

PS:
Same issue perhaps under Linux, of course,
but I don't know any details about that.


_________________________________________________________________
Chat on line met vrienden en probeer MSN Messenger uit: 
http://messenger.msn.nl