From: "Stephen Kennedy" <Stephen.Kennedy@cs.tcd.ie>
Subject: Re: Slowdown when dynamically loading a shared lib
Date: 1999/03/19 [thread overview]
Message-ID: <7ctmnm$9ta@web3.tcd.ie> (raw)
In-Reply-To: 36F01FAD.28AE@lapp.in2p3.fr
>> >I've build such a library and when I load it dynamically, it is around
>> >10 times slower than if I link it to the executable at compile time. The
>> >exact same **small** routine.
[my emphasis]
There is a certain amount of time overhead involved in shared libraries,
If the routine is non trivial the space saved is well worth it. Very small
routines however...
Could you wrap several calls to the lib into one bigger call?
And does it make a difference?
Steve.
next prev parent reply other threads:[~1999-03-19 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <36EF7CF6.B6A0325E@lapp.in2p3.fr>
[not found] ` <519A71327421D2118C2000805F65E04D03423342@email.usinor.com>
1999-03-17 5:00 ` Slowdown when dynamically loading a shared lib Damir Buskulic
1999-03-19 5:00 ` Stephen Kennedy [this message]
1999-03-19 5:00 ` Damir Buskulic
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox