delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/04/13:30:17

From: Marco Vienup <Marco AT Vienup DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: speed of compiled programms
Date: Tue, 04 Sep 2001 19:17:23 +0200
Lines: 19
Message-ID: <2p1aptcsq4ra5m2vb0mor7553fcbipv50l@4ax.com>
References: <80o7ptk35260gn4l05obuh0du6k37psstq AT 4ax DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1010904111633 DOT 28761F-100000 AT is>
NNTP-Posting-Host: pd9525d96.dip.t-dialin.net (217.82.93.150)
Mime-Version: 1.0
X-Trace: fu-berlin.de 999623774 5511542 217.82.93.150 (16 [9926])
X-Newsreader: Forte Agent 1.8/32.548
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>How much slower?  Can you give numbers?

Hm, I have a simple timeout for(...) construct.

for(int i=0; i<=500;i++){ one small if(...) }
If it is the fast code, it will run in a timeout, with 
the slow code the maximum is 100-120.

>Anyway, I'd suggest to run objdump on both .exe files, and compare the
>results.  That could show what are the differences between the two
>programs.

objdump ? I dont know what it is, can you explain it ?

thanks
Marco
-----
E-Mail: Marco AT Vienup DOT de
HP: http://www.vienup.de

- Raw text -


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