in reply to Re: extracting corresponding values from another array
in thread extracting corresponding values from another array

From what I recall, it is ineffective to access list elements by index

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....

  • Comment on Re: Re: extracting corresponding values from another array