Stories
Slash Boxes
Comments
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 ]

jdavidb (1361)

jdavidb
  (email not shown publicly)
http://voiceofjohn.blogspot.com/

J. David Blackstone has a Bachelor of Science in Computer Science and Engineering and nine years of experience at a wireless telecommunications company, where he learned Perl and never looked back. J. David has an advantage in that he works really hard, he has a passion for writing good software, and he knows many of the world's best Perl programmers.

Journal of jdavidb (1361)

Thursday June 20, 2002
10:15 AM

ARSperl: ETIMEOUT

[ #5804 ]

Does anyone work with ARSperl? More specifically, does anyone work on the ARSperl module itself? I sent the author a patch last week that makes a great speedup with the object-oriented interface. No response, so far. I was curious if anyone knows anything about the people behind the module. There's a mailing list, but I haven't joined it yet.

Basically ARSperl's OO interface uses a lot of methods with named parameters in the style of CGI.pm. In fact it's so like the style of CGI.pm that they copied the named parameter handling subroutine straight out of CGI.pm. Unfortunately the routine wasn't very efficient, and CGI.pm has moved on to a more efficient version of the same routine, which it now exports from CGI::Util. (It might have exported it before; I don't know.) By replacing the ARSperl definition of the routine with a use statement to import the routine from CGI::Util, I was able to speed up a small program by several seconds.

I discovered all this because I profiled my code. My thanks to everyone who gave me the right pointers to learn how to profile!

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