in reply to Product of a list of numbers?
Your way is fine, but if you need more speed, look at PDL,
In the interest of speed, you'd probably want to work with piddles from the start, rather than converting like that.sub product { pdl( shift )->prodover; }
After Compline,
Zaxo
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Product of a list of numbers?
by etj (Deacon) on Jun 26, 2022 at 00:26 UTC |
In Section
Seekers of Perl Wisdom