in reply to Re: Re: Fastest way to compare multiple variables?
in thread Fastest way to compare multiple variables?

See my answer further down, but call the function like so:
all_equal_ints(scalar(@array1), scalar(@array2))