[Israel.pm] unshift vs push&reverse

Gabor Szabo szabgab at gmail.com
Fri Mar 27 05:12:38 PDT 2009

> On Thu, March 26, 2009 2:29 am, Gabor Szabo wrote:
> > ps. push should be way faster than unshift but I am quite sure it does
> > not matter in your code. If you want to check, benchmark them.

Oh, with that last sentence I opened the Pandora's box of the
premature optimization.
I should have had my mouth shut.


More information about the Perl mailing list