Just another Perl shrine | |
PerlMonks |
Re: Efficiency Questionby fundflow (Chaplain) |
on Feb 23, 2001 at 19:18 UTC ( [id://60489]=note: print w/replies, xml ) | Need Help?? |
Did you look at Circular buffer instead of shift/push?
It can save the O(n) operations you have.
In Section
Seekers of Perl Wisdom
|
|