Problems? Is your data what you think it is? | |
PerlMonks |
Re^11: Finding All Paths From a Graph From a Given Source and End Nodeby LanX (Saint) |
on Nov 02, 2010 at 18:58 UTC ( [id://869069]=note: print w/replies, xml ) | Need Help?? |
And the culprit was ... usage of self-documenting variable names. Simply avoiding the array-copy my @path=@_ makes a factor 4.5 performance boost... Fascinating!!! What a pity Perl doesn't support aliasing out of the box!
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|