just a little nitpik in bfd

Ian Lance Taylor ian@airs.com
Fri May 17 07:45:00 GMT 2002


Nick Clifton <nickc@cambridge.redhat.com> writes:

> > One more wrinkle: why do we need to hash len into the hash total?
> 
> It does no harm, and it might help in situations where a long string
> with low numbered ascii characters has a similar hash value to a
> shorter string with higher numbered ascii characters.

It might be interesting to test possible hash functions empirically on
the symbol names found in real programs, to see which ones gave better
distribution.

Ian



More information about the Binutils mailing list