in reply to Re^2: Challenge: "Insanity" Cube Puzzle
in thread Challenge: "Insanity" Cube Puzzle
With regards to benchmarking, it is almost never a good idea to include IO. Basically, the routines should be verified to produce essentially the same results first and then the output should be omitted. In other words, doing any preparation IO work before the bench, run the bench, and omit any IO output.
Update: Depending on how you count, the following only loops 1,152 times and still finds duplicates.
And the following performs even fewer (< 500):
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Challenge: "Insanity" Cube Puzzle
by Ieronim (Friar) on Jul 10, 2006 at 20:21 UTC |