in reply to Strange benchmark result that has me totally confounded
However, I'm still confused as to why there is such a dramatic change.That's easy. You change your original items in @messages, so after one replacement, there's nothing left to replace.
Add
at the top of each routine, and the difference becomes much less... Roughly around 22% of difference, just for the 2 extra substitutions.my @messages = @messages;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Strange benchmark result that has me totally confounded
by jpfarmer (Pilgrim) on Apr 16, 2004 at 22:45 UTC | |
by simonm (Vicar) on Apr 17, 2004 at 00:32 UTC | |
by chromatic (Archbishop) on Apr 16, 2004 at 23:15 UTC |