Just another Perl shrine | |
PerlMonks |
Re^2: Reminder to self: must use Memoize more often!by tobyink (Canon) |
on Jan 12, 2013 at 14:40 UTC ( [id://1013043]=note: print w/replies, xml ) | Need Help?? |
On my machine at least, fib6 is 4% faster than fib5:
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Cool Uses for Perl
|
|