Subject: Re: NetBSD 2.0 Dynamically Linked?
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Bang Jun-Young <junyoung@NetBSD.org>
List: netbsd-help
Date: 06/04/2004 21:40:36
Patrick Welche wrote:
> On Fri, Jun 04, 2004 at 02:25:21PM +0900, Bang Jun-Young wrote:
> > No, dynamically linked binaries are loaded (much) slower than
> > statically linked ones, since symbol resolution is usually taking quite
> > a lot of time.
>
> Wasn't there something about a sort of preresolving of shared library
> symbols in the binary, so symbol resolution would be fast until the
> shared library changed? Care to teach me what that was all about?

Besides symbol resolution, there are some steps needed to make dynamic 
binaries work, which static binaries don't need at all. So static ones are 
almost always faster.

Jun-Young