Re: Larkin, Power BASIC cannot be THAT good:



On Jun 10, 3:27 am, Jan Panteltje <pNaonStpealm...@xxxxxxxxx> wrote:
On a sunny day (Tue, 9 Jun 2009 16:01:21 -0700 (PDT)) it happened
mrdarr...@xxxxxxxxx wrote in
<6e01348f-e776-4a85-8703-8f326a582...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>:



On May 15, 7:34 am, Jan Panteltje <pNaonStpealm...@xxxxxxxxx> wrote:
The run time in C is 13 seconds here on a 1GHz processor.
Can you specify your 'old HP computer' ?

I can win maybe 1 second by writing the code a bit different.
And a 3GHz would do it in 12 / 4 = 4 seconds...
A bigger cache would help a bit perhaps.

A Cray would be even better.

What does you C code look like? Mine is in the other posting.

Else you goofed a factor 10.

Seems to me anyways :-)

This may be of interest.
http://www.gamedev.net/reference/articles/article1698.asp

Free online version of Michael Abrash's optimization strategies.

Michael

Nice site :-)
Too bad the moron did everythin gin .pdf that loads slow and is useless in a browser.
Blame that o adobe (WTF source code in pdf??????).
So I deleted that bookmark again.


You're impatient. Consider that the book, new, costs US$100+ on
amazon.com.

In Firefox I just right-click, Save Link As. I did it while reading
the various chapters.

Check out Chapter 6, and re-evaluate whether this is junk to you. I
had no idea the LEA instruction could add so efficiently.

http://downloads.gamedev.net/pdf/gpbb/gpbb6.pdf

Michael
.


Quantcast