in reply to Re: "my" slowing down programs?
in thread "my" slowing down programs?

Used version is strawberry perl 5.20.2.1 (Windows 7; thus I suspected windows memory management); so I'd expect it to have this optimization built in.

Your 2nd argument indeed is very intriguing, as this always happens in the last step of the block, no matter whether it's given once or repeated some times.

Replies are listed 'Best First'.
Re^3: "my" slowing down programs?
by dave_the_m (Monsignor) on Aug 17, 2015 at 21:26 UTC
    Used version is strawberry perl 5.20.2.1
    Correction - the lexical optimisation was introduced in 5.22.0.

    Dave.

      Thanks for the information! Indeed when testing with version 5.22 the timing differences are completely gone.

      P.S.: my trials to install Devel::NYTProf in strawberry perl 5.22.0.1 (Windows 7) failed (due to some failed tests). Did others make the same experience?