in reply to Subroutine overhead in Perl
-,-,4,-,-,2,-,-,3 -,2,2,-,9,-,7,1,5 7,-,-,3,1,-,4,-,- -,1,-,-,-,-,2,-,9 -,4,-,2,7,-,-,-,6 2,8,-,5,-,-,-,-,- 5,-,-,-,-,3,6,-,4 -,3,1,-,-,8,-,-,2 4,6,-,-,5,-,-,3,1
In reading the code, your recursive function doesn't actually solve anything, as far as I can tell. Please verify that you actually posted the right code.
As for what's going on, there are a number of places I can see as possibly improving the code and the performance, potentially by several orders of magnitude. I just need to see working code first in order to apply the right fixes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Subroutine overhead in Perl
by enemyofthestate (Monk) on Nov 06, 2007 at 18:31 UTC | |
by dragonchild (Archbishop) on Nov 06, 2007 at 19:46 UTC | |
by enemyofthestate (Monk) on Nov 06, 2007 at 20:45 UTC | |
|
Re^2: Subroutine overhead in Perl
by Anonymous Monk on Nov 06, 2007 at 18:44 UTC | |
by strat (Canon) on Nov 07, 2007 at 07:26 UTC | |
by polettix (Vicar) on Nov 08, 2007 at 14:34 UTC | |
by strat (Canon) on Nov 10, 2007 at 13:05 UTC |