|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^5: counting backward (optimize foreach reverse low .. highby LanX (Monsignor) |
| on Mar 02, 2013 at 15:52 UTC ( #1021439=note: print w/ replies, xml ) | Need Help?? |
|
Maybe it's optimized for reversing arrays but not for reversing ranges: I had to stop the second version because the swapping started to freeze my system:
Reversing ranges was what BUK did, but AnoMonk replied with a reference to a fix for reversing arrays!
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||