Merging identical functions in GCC
Gabriel Dos Reis
gdr@integrable-solutions.net
Sun Sep 17 00:18:00 GMT 2006
"Daniel Berlin" <dberlin@dberlin.org> writes:
| > >No it can't. It has no idea what a function consists of other than a
| > >bunch of bytes, in pretty much all cases. ... Stupid byte
| > >comparisons of functions generally won't save you anything truly
| > >interesting.
| >
| > Microsoft's implementation has proven that "stupid" byte comparions can
| > generate significant savings.
| >
| No they haven't.
| But have fun implementing it in your linker, and still making it safe
| if that's what you really want.
| I'm not going to do that, and I don't believe it is a good idea.
Agreed.
-- Gaby
More information about the Gcc
mailing list