Re: Larkin, Power BASIC cannot be THAT good:



On a sunny day (Tue, 9 Jun 2009 16:01:21 -0700 (PDT)) it happened
mrdarrett@xxxxxxxxx wrote in
<6e01348f-e776-4a85-8703-8f326a582ae3@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.


.



Relevant Pages

  • Re: Larkin, Power BASIC cannot be THAT good:
    ... Can you specify your 'old HP computer'? ... I can win maybe 1 second by writing the code a bit different. ... A bigger cache would help a bit perhaps. ... with 32bit signed ints: ~2.5 second ...
    (sci.electronics.design)
  • Re: Larkin, Power BASIC cannot be THAT good:
    ... Can you specify your 'old HP computer'? ... I can win maybe 1 second by writing the code a bit different. ... A bigger cache would help a bit perhaps. ... Free online version of Michael Abrash's optimization strategies. ...
    (sci.electronics.design)
  • Re: Larkin, Power BASIC cannot be THAT good:
    ... Can you specify your 'old HP computer'? ... I can win maybe 1 second by writing the code a bit different. ... A bigger cache would help a bit perhaps. ... with 32bit signed ints: ~2.5 second ...
    (sci.electronics.design)
  • Re: Larkin, Power BASIC cannot be THAT good:
    ... Can you specify your 'old HP computer'? ... I can win maybe 1 second by writing the code a bit different. ... A bigger cache would help a bit perhaps. ... memory bandwidth will be the dominant factor. ...
    (sci.electronics.design)
  • Re: os.path.getsize() on Windows
    ... WRITING, not reading. ... That's why he has to specify when he opens it that he wants exclusive ...
    (comp.lang.python)