[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: DLLs compiled with same base address

From: Brad <brasstilde_at_insightbb.com>
Date: 2005-11-16 14:03:33 CET

>> Many DLLs distributed with/in TortoiseSVN share a common base
>> address.
>> This can cause a performance hit when windows loads the DLL image.
>
> Really? I always wondered why it was possible to change that base
> address. I always use the default settings in my own projects. Guess
> I'll have to change that...

The hit is only when the DLL loads. Windows checks the base address in
the DLL to see if it's already occupied. If it is, it loads the new DLL
at an unoccupied address.

If your DLL loads multiple times, or if you load lots of DLLs, it's
worth it to change the base address, otherwise, it's a "nice to do"
thing.

I've never seen any performance hit while *using* a DLL that had to be
relocated, only when loading it.

Brad

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

--
Received on Wed Nov 16 13:08:36 2005

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.