Any chance you might throw together a benchmark so we can see?
Also, while your solution does distinguish between an empty list and the highest being at 0, it'll die on the last line if the array is empty.
--- demerphq
my friends call me, usually because I'm late....
In reply to Re: Re: extracting corresponding values from another array
by demerphq
in thread extracting corresponding values from another array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |