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


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