🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6619

Re: Weird optimisation results

#6619
From: Alan Bellingham
Date: Thu, 28 Apr 2005 09:37
17 lines
1544 bytes
"Andrue Cope [TeamB]" <no.spam@not.a.valid.address> wrote:

>FWIW the test image contains around 7,000 files and each file has four
>date/time stamps. The program is only generating a file listing.

Sorry? You're accessing disk, and yet you expect a piddly little
function like this to have any effect whatsoever on execution times?

I'm sorry, Andrue, I don't get it. Calling this function 28000 times
should take no time at all.

(I'll leave aside the fact that both versions of the code look to be
candidates for www.thedailywtf.com.)

Alan Bellingham
-- 
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <6db171dj7t4sken8gaiip8cck2n2k70fnv@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4270aa35$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,558eed2a222ed4da
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Weird optimisation results
Date: Thu, 28 Apr 2005 10:37:37 +0100
Reply-To: alanb@episys.com
Message-ID: <6db171dj7t4sken8gaiip8cck2n2k70fnv@4ax.com>
References: <4270aa35$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1114681056 193.129.251.253 (28 Apr 2005 02:37:36 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail