Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Keep It Simple, Stupid
 
PerlMonks  

Re: Efficiency and length of variable names

by jdalbec (Deacon)
on Mar 12, 2005 at 08:15 UTC ( [id://438904]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Efficiency and length of variable names

I think this is a case of premature optimization. The length of symbols used in a program should only be an issue during compilation. In general, once the program has started, it shouldn't matter.

In Perl I know of only two ways in which symbol lengths can affect execution. One is evaling a string (don't do that), which invokes the compiler again, and the other is using symbolic references (don't do that either), which use strict forbids.

If you have a CGI program that's being compiled every time it executes you might want to look at converting it to mod_perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://438904]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.