Collision-resistant hashing

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Dec 1 09:57:36 UTC 1999


> Note that this wouldn't save object file space relative to just using
> a compact mangling scheme, since we still include the names, but it
> would mean that the linker could see only short names.  I could imagine
> a linking speed benefit.  Any opinions?

The only problem I see is that linkers probably don't know what to do
with these sections, other than concatenating them. So when you have
the original names included, the object file size might actually grow
after linking, compared to a more traditional mangling implementation.

Of course, if that's the C++ ABI, linkers will learn to intelligently
combine these sections - which, in turn, might drop linker speed,
again.

Regards,
Martin




More information about the cxx-abi-dev mailing list