in reply to RE: Re: timethese
in thread timethese, and pushing array values
Which would give you a sort of average performance of your code over certain input ranges. However you could not do this benchmark if timethese magically reset your initial state (because then you would pick the same random number a million times).srand; timethese(factorial(int rand*1000), 1 000 000);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Magic state resets
by lhoward (Vicar) on Jul 08, 2000 at 16:59 UTC | |
by gryng (Hermit) on Jul 08, 2000 at 18:05 UTC | |
|
RE: Magic state resets
by husker (Chaplain) on Jul 11, 2000 at 19:13 UTC | |
by gryng (Hermit) on Jul 13, 2000 at 01:54 UTC |