A cached map will do best if you actualy need a fast factorial. There are very little entries before the numbers become pointlessly big.
Not if you want to calculate modulo some big number. Might still be useful tho.
Not if you want to calculate modulo some big number. Might still be useful tho.