This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: ordinal linking for cygwin ld
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>,"Charles Wilson" <cwilson at ece dot gatech dot edu>
- Cc: "Kde-Cygwin" <kde-cygwin at kde dot org>,"Binutils" <binutils at sources dot redhat dot com>,"Cygwin-Apps" <cygwin-apps at cygwin dot com>
- Date: Sun, 28 Apr 2002 04:43:46 +1000
- Subject: RE: ordinal linking for cygwin ld
> -----Original Message-----
> From: Ralf Habacker [mailto:Ralf.Habacker@freenet.de]
> Sent: Sunday, April 28, 2002 4:28 AM
> >
> > Hangon, lets go back a bit. Why do you want ordinal-only
> linking? For
> > runtime or link-time performance? Or for on-disk import
> library size?
> > Or....
> runtime performance
Ok, well then check this :
http://msdn.microsoft.com/msdnmag/issues/0500/hood/hood0500.asp article
out.
Linking by ordinal only gives a 2%-4% improvement. rebinding and
rebasing gives up to 18%.
So linking by ordinal only will help you a little. rebinding and
rebasing your .dll's will help much much more.
And infact, rebasing and rebinding makes the INT obsolete - because the
IAT is precalculated, so you can't get 22% by linking by ordinal and
rebinding and rebasing.
Rob