Merging identical functions in GCC
Michael Popov
pmike2001@mail.ru
Fri Sep 15 18:42:00 GMT 2006
Daniel Berlin wrote:
> There are of course, collisions possible in the hash, and in the
> absolute worst case, it is possible to end up with no warning but
> wrong results. In particular, if you get a collision and the length
> of the functions happens to be the same, i don't believe the linker
> will complain about the symbol size changing.
In case of hash collision, can't we just compare function body,
byte by byte? Shouldn't be a big performance hit I think.
More information about the Gcc
mailing list