in reply to Re^4: Optimizing a double loop
in thread Optimizing a double loop
You're right on both accounts.
I just used += because from reading your initial question I wasn't sure if you needed absolute values, or add them to an existing array.
In Section
Seekers of Perl Wisdom