At 16:53 27/03/2001 +0100, Robin Houston wrote:
>On Tue, Mar 27, 2001 at 05:40:19PM +0200, Philip Newton wrote:
> > Well, remember that the sub effecticaly recalculates (what amounts to) the
> > array each time. To be fair, you should include the array initialisation
> > inside the loop and see who wins then.
>
>Hey, that's not _fair_!
>The whole point of using an array is that you can pre-populate it.
>(also it's more concise, and I find it more comprehensible. YMMV)
I agree, it's how I would have done it. I was just trying to see it really
deserved the label "evil and gross hack".
It seems to me that it doesn't but as you say, YMMV and I got to practice
my benchmarking :-)
Simon.