Sender: fabrice AT asim DOT lip6 DOT fr Message-ID: <345725AC.2781E494@trash.lip6.fr> Date: Wed, 29 Oct 1997 13:01:48 +0100 From: Fabrice ILPONSE MIME-Version: 1.0 To: djgpp news group Subject: DJGPP SLOW ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Hi! After having compared to code. First in BC 3.1 under protected mode (with my PM engine) and the ohter under djgpp. djgpp appears to be 100%-200% slower ! :| So i am searching for the reason of this speed waste. I've had a look at the generated code, it seems to be at all good! So, due to my DPMI knowledge, i wonder if the go32 header of the executables is fast. I know that djgpp lib contains a high resolution timer routine. For each tick i suppose that both DOS and DPMI tick handler are called. That means at each tick a PM to REAL or REAL to PM switch! :0 Can that be a reason for the djgpp waste of time? -- ^ ^ ^ | | | +-+-+ Fabrice ILPONSE | | | -