News for hackers. Stuff that matters.
Re:Calculating integer factorials in constant time, taking a... by ape4 on Tuesday December 15, 2015 @12:40PM (#10739100)
I like the idea of hybrid. Since the value of a factorial depends on the factorial of the previous 2 numbers. Cache fact(n) and fact(n-1) for a selection of n's. eg n = 10, 100, 1000, 10000, ...

There are no comments on this comment yet.