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.