delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/17/08:35:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de>
To: "cygwin" <cygwin AT cygwin DOT com>
Subject: RE: Rebasing dlls - why it is necessary
Date: Wed, 17 Jul 2002 14:35:11 +0200
Message-ID: <01cc01c22d8e$64728d30$5aa907d5@BRAMSCHE>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <20020716182528.68f60a70.steven.obrien2@ntlworld.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019