This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Rebasing dlls - why it is necessary
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "cygwin" <cygwin at cygwin dot com>
- Date: Wed, 17 Jul 2002 14:35:11 +0200
- Subject: RE: Rebasing dlls - why it is necessary
> This can be seen as a hack, because rebasing should really be for
> efficiency, not for functionality.
... but rebasing is only the half of what is possible. Rebinding is another
part, which could be done on dll's and exes.
Rebinding means to store dll's function addresses direct into a dll/exe import
table, so that on loading the dll/exes the runtime linker does not have to
compute the address, because it is already valid.
I've got a speedup of > 50% on big applications like qt designer and kde dll's.
If anyone like to try this application, see the download area of the kde-cygwin
project on sourceforge on
http://sourceforge.net/project/showfiles.php?group_id=27249
Regards
Ralf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/