in reply to Re (tilly) 1: Efficiency and overhead of subs
in thread Efficiency and overhead of subs
Actually, you might want to spend more time thinking about how your perl will run, not how it's written. If you are writing a CGI, you can use mod_perl on apache, Perl for Isapi on IIS, etc...
Also, I have found that using Perl2Exe can dramatically speed up a script that gets started often by eliminating the compile time.
I guess the point is that within reason, programming practice has a lot less to do with efficiency than run time implementation. Welcome to the world of interpreted languages.
That all said, use references, and avoid large hashes.
Hammy
Nothing4sale.org
|
|---|