![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Common Perl Pitfallsby JavaFan (Canon) |
on Apr 09, 2012 at 23:16 UTC ( #964224=note: print w/replies, xml ) | Need Help?? |
Deleting some array elementsI'd write that as: If only because your splice solution can be quadratic worst case, while the above is linear (assuming should_delete has a running time bounded by a constant).
In Section
Meditations
|
|