Message-Id: <199706051312.PAA23996@zeus.hu.bonus.com> From: "Gyorgy Abonyi" To: "Peter Palotas" Cc: Subject: Re: Speed of DJGPP? Date: Thu, 5 Jun 1997 15:12:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Precedence: bulk Peter Palotas wrote: > Although, I presume DJGPP makes faster code than BC!? Although, it produces > about the same code as Watcom from what I have understood, so the question > is, why does it have to be slower? This's becouse the DOS4GW extender what watcom uses, replaces the most real mode DOS functions, with it's own 32-bit versions, so with Watcom the file I/O operations don't need 32/16 bit mode switching, what is really slow... DJGPP doesn't provide 32 bit version of DOS functions, so it have to switch between 32 and 16 bit modes alot.... And compiling uses a lot of file I/O, so that's the reason, why DJGPP compilation times longer than Watcom's and VC's.. (VC calls the Win32 API, that uses 32 bit file I/O... no mode changes...). Gyorgy Abonyi Jr. loop AT hu DOT bonus DOT com