in reply to Algorithm for cancelling common factors between two lists of multiplicands
Memoize the logs of the factorials.
BTW, I posted some FET code earlier that does just that; if there's something wrong with it, please let me know.
the lowliest monk
In Section
Seekers of Perl Wisdom