in reply to Re^10: Performance oddity when splitting a huge file into an AoA
in thread Performance oddity when splitting a huge file into an AoA

Having spent a couple of hours flicking between the two sets of results in your latest zip, I am at a loss to explain or reproduce the problem. I doesn't make any sense at all to me why

my @line_arr = split ',', $line;

would take 8 times longer in one run relative to another. Assuming the same interpreter is being used for both runs.

As I cannot reproduce it, and nobody else has spoken up to say that they can, it would appear to be confined to your system. If you have a work around, and are not concerned that this will adversely affect your other programs, then simply drop the issue.

Quite frankly, I find this NYT prof output very difficult to use. Pretty, but otherwise essentially useless. But, once again, I seem to be in a minority here.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^12: Performance oddity when splitting a huge file into an AoA
by Xenofur (Monk) on May 09, 2009 at 19:26 UTC
    You mean running this in 32 bit ActivePerl or Strawberry Perl doesn't do this on your system? And yes, the two results in the latest zip are from the same interpreter.

    As for NYTProf, I'm only using it because nothing different was suggested and because it is the most advanced of the profilers i know.

    Either way, thanks a lot for your time and assistance with this. :)