Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by ipeev

1 day ago

A cached map will do best if you actualy need a fast factorial. There are very little entries before the numbers become pointlessly big.

2 comments

ipeev

Reply

karmakurtisaani  1 day ago

Not if you want to calculate modulo some big number. Might still be useful tho.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities