Is there a way to calculate factorial faster than above?

Technical