[Python-Dev] Do we still need BaseAddress in .vcproj files?
varmaa at gmail.com
Fri Apr 25 23:52:31 CEST 2008
A while back I was reading an MSDN article that did some concrete research
on the performance benefits of rebasing DLLs to avoid fixups at runtime, and
it actually concluded that on modern systems, the benefits are really
negligible. I tried finding the article on the net just now, though, and I
couldn't, so don't take my word for it. This 1995 MSDN article provides an
explanation and some raw numbers for systems at that time, though:
On Fri, Apr 25, 2008 at 2:00 PM, "Martin v. Löwis" <martin at v.loewis.de>
> > This was partly out of curiosity, and partly because it was quicker
> > doing that than finding a new unique base address to use for a new
> > module I added to my local tree. Rebuilt everything and ran a full
> > regression test, and everything passed. What am I missing? Do we
> > have parts of Python that rely on finding modules at explicit base
> > addresses? Is BaseAddress a relic from the past? Christian or
> > Martin?
> As Christian says: specifying the base address so that the addresses
> don't overlap avoids having Windows to perform relocations on startup.
> There is a Microsoft tool (editbin /rebase) to compute non-overlapping
> base addresses for a given set of DLLs.
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev