Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gav (2710)

  (email not shown publicly)
AOL IM: flufflegavin (Add Buddy, Send Message)

Hacker in NYC.

Journal of gav (2710)

Monday August 05, 2002
10:57 AM

odd little thing

[ #6908 ]
I was tidying up a script for a client that was previously working fine and noticed it was really, really slow. Processing a 600k file was taking about 30 seconds. This seemed big odd as the module that was doing the grunt work was something I've used for several projects and handles 15meg files without complaint. I thought the best thing to do would be top copy it over to my linux box and attack it with Devel::DProf and see what's up.

The script was using Config::Ini which no longer seems to be on CPAN which is a bit confusing. I commented out the code that used that and hardcoded the values I wanted. The script ran in about 2 seconds.

I guess I'd better look at finding a new module to handle INI files :)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.