Re: Larkin, Power BASIC cannot be THAT good:



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
.


Quantcast