[Gllug] Apple

Doug Winter doug at pigeonhold.com
Fri Jan 16 10:09:24 UTC 2004


On Fri 16 Jan Tethys wrote:
> >You save about 40,000 relocations with OOo-1.1, and about half of the
> >startup time. (Writable page count will fall considerably as well, but
> >I've not had a look to see how much.)
> 
> Just curious... how can you do relocations in advance unelss you know
> where it's going to be loaded (which presumably, you don't). Without a
> Windows-like scheme where programs are linked to be loaded at a given
> location (and hence only need relocation if that location is unavailable),
> then I don't see how you can reduce load time relocations.

AIUI prelinking works exactly like that :)  Libraries are assigned a
preferred address, and only relinked if those addresses are unavailable.

doug.

-- 
6973E2CF print 2C95 66AD 1596 37D2 41FC  609F 76C0 A4EC 6973 E2CF
"The purpose of all war is robbery."
    -- Voltaire

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list