r/badcode •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

82 comments sorted by

View all comments

Show parent comment

4

u/cryptOwOcurrency Jun 08 '20

This lookup table actually looks incredibly efficient, and not much different than I'd implement it in e.g. a custom game engine where performance is critical.

Assuming there were ever a game where a factorial were somehow useful.