Memoization / table lookup will give you a significant speed up as long
as you're generating enough factorials / binomial coefficients.
Depending on what you're doing you might find the functions in
scipy.special useful,
https://docs.scipy.org/doc/scipy/reference/special.html
particularly the gammaln and related functions. You will need to install
scipy unless you've already done so.
Duncan