I removed map{ primeFactors $_ } from your FET3 sub, and it runs 5X faster! (The last 4 digits differ between the 2 versions.)
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^3: Algorithm for cancelling common factors between two lists of multiplicands
by QM
in thread Algorithm for cancelling common factors between two lists of multiplicands
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |