http://qs1969.pair.com?node_id=483367


in reply to Re^2: Algorithm for cancelling common factors between two lists of multiplicands
in thread Algorithm for cancelling common factors between two lists of multiplicands

Don't factor!

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