This is a pretty elaborate way to do it, but it's good to see a demonstration of perl's unapologetic form of goto outside AUTOLOAD subs.
Have you benchmarked this against a straight iterative implementation?
After Compline,
Zaxo
In reply to Re: Tail Recursion "Optimising" with goto &sub
by Zaxo
in thread Tail Recursion "Optimising" with goto &sub
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |