tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] ld.elf_so - Cache objects checked
On 02/24/10 20:18, David Laight wrote:
On Wed, Feb 24, 2010 at 01:07:03PM +0000, Roy Marples wrote:
Somewhere I have some code that, at program startup, generates a single
ELF symbol table from all the libraries that are loaded at program startup.
I did this to speed up mozilla startup.
Sounds good. Do you still have this code and can you make it available?
Changing ld(1) to use larger symbol name hash table would help!
(as you would get symbol hash misses, instead of finding hash chains
with an average of 1.5 entries.)
As would aligning the strings on 4 (or 8) byte boundaries.
These optimisations are beyond my skills.
Also a C loop for the name compare works faster than strcmp().
I would be suprised if this would help that much here.
Thanks
Roy
Home |
Main Index |
Thread Index |
Old Index