delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/14/13:25:30

Date: Wed, 14 Apr 93 13:07:17 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: djgpp v.s. Borland C++ 3.1

>I was suprised to find djgcc compiled code runs much faster than Borland C++
>compiled code.

I have two examples of the same thing: a sort which is 4x faster with djgcc
and generation of a graphics file which is 2x faster with djgcc.  I suspect
that gcc's advantage comes primarily from using a flat address space and not
having to shuffle segment register values.  If I'm right, Borland C should be
comparable to djgcc in a small model program (with no variables declared far).

- Raw text -


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