On Fri, Jul 26, 2013 at 12:13:45PM +1000, Peter Waltenberg wrote:
> The compiler can't optimize if the symbols are called inter-module either.

If it knows they're hidden, it can.  And it clearly can
optimize things if you mark them static so it knows they're
not called inter-module.

> And seriously, do you REALLY think that any changes the compiler makes at
> that level will have measurable performance impacts ?.
> There are good reasons to hide parts of the API that you don't want used by
> external code - hiding symbols to improve performance is a big stretch.

Even when just hiding it in the linker there is a difference.  I
can't seem to find the numbers anymore, so I can't say it's
significant.

But I would already be happy with just hiding it in the linker
like I've been doing in Debian.  It already resulted in people
stopping using private symbols.


Kurt

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to