Slow linker with shared C++ libraries

Michael Matz matz@suse.de
Mon Mar 1 09:27:00 GMT 2004


Hi,

On Thu, 26 Feb 2004, H. J. Lu wrote:

> This patch seems to solve my problem quite nicely. In one testcase,
> link time went from 20 seconds to 3 seconds.

You don't by chance just tried the patch in 
http://sources.redhat.com/ml/binutils/2003-09/msg00175.html
which is simpler?  IMHO a hash table better fits the problem at hand, 
because you look for an answer to "is there anything with this same 
address", which a hashtable can answer faster than any bisection search.


Ciao,
Michael.



More information about the Binutils mailing list