in reply to Re^3: how to speed up program dealing with large numbers?
in thread how to speed up program dealing with large numbers?

Worth the effort?

What effort? I would have used an array from the start, meaning it take extra effort to use the hash version. Besides, we're talking of a 5 character difference.

Compare that to the original implementation

Why? When benchmarking video cards, you don't compare them to a CGA video card, you compare them to each other.

  • Comment on Re^4: how to speed up program dealing with large numbers?

Replies are listed 'Best First'.
Re^5: how to speed up program dealing with large numbers?
by Anonymous Monk on Mar 22, 2010 at 15:14 UTC
    What effort?

    The effort you made trying to think of something, anything, to post.

    I would have used an array from the start,

    And because you do it wrong, everybody should.

    When benchmarking

    Your micro-optimisations would still not make a blind bit of difference.

      Please take offtopic personal messages offline