http://www.perlmonks.org?node_id=466329


in reply to Fastest way to calculate hypergeometric distribution probabilities (i.e. BIG factorials)?

i can't remember the module name, but what it does is remember previous results....this greatly speeds up calculations of factorials. e.g. when you are working out 7 factorial, it already remembers the result of 6!, 5!, 4!, 3!, 2!, 1!. look around in the math modules on CPAN
the hardest line to type correctly is: stty erase ^H