On 12/04/2013 12:23, kavita kulkarni wrote:

Thanks all, got many ideas from you..

My script took ~7 min to run with data file of ~50,000 lines with
substr()/unpack() enabled and same script took ~2 min after disabling
substr()/unpack().
That led me to the conclusion that substr/unpack is taking maximum of my
time (and that I should reduce).

I have updated changes like using "@_" instead of "shift",  with very small
performance improvement.

For "Devel::NYTProf", I need to check if my SA if he will allow me to
install.

I am worried about your figures. Two minutes for 50,000 lines is 2.4ms
per line, and that is a *huge* amount of time.

I think you should show us your data and code, as it sounds like
something is going wrong.

Rob

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to