[haiku-development] Re: weaks symbols and friends

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 15 Nov 2010 19:44:48 +0100

On 2010-11-15 at 19:21:22 [+0100], Stephan Aßmus <superstippi@xxxxxx> wrote:
> Is it possible to reduce the performance hit on the runtime loader by
> declaring symbols hidden and only exporting what we really intend to be
> used from a library?

Absolutely.

> For example, could libwebcore be built as a static
> library and linked into libwebkit, with libwebkit only exporting the
> Be-ish API that contains just a few top-level classes, and that would
> bring the start-up performance to the level it has with symbolic linking
> now?

It would definitely help. The smaller the exported compared to the hidden 
part the better.

CU, Ingo

Other related posts: