delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/16/19:46:44

Sender: nate AT cartsys DOT com
Message-ID: <37B7C79F.36CE9159@cartsys.com>
Date: Mon, 16 Aug 1999 01:11:11 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.12pre4 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: slower exe after compile with 2.95
References: <37B780A8 DOT 1874F32E AT geocities DOT com>
Reply-To: djgpp AT delorie DOT com

Sahab Yazdani wrote:
> 
> I compiled my PONG game using the new 2.95 build of gpp and it's visibly
> slower.
> compile string:
> gcc -s pong.cc -o pong.exe
> no flags no nothing.  This is the same compile string I used to compile
> the 2.81 version by the way.

If you care about speed you should be optimizing.  Try -O2.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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