E
el_roachmeister
What is the ballpark limit for the size of a script before the perl
interpreter takes more than a few seconds to load it? I have a cgi
script that is not CPU or memory intensive but is around a few thousand
lines of code and uses a few modules. It runs in less than a second.
Customers keep requesting new features and I am hesitant to just
blindly growing the code. What is the point where the code will take
too long to load into the interpreter (>3 seconds)? Can I juse use
modules wiley-niley or do I have to count the lines of code in them
too?
And what if the code does become too large ? Is there anything I can do
to speed it up?
Thanks!
interpreter takes more than a few seconds to load it? I have a cgi
script that is not CPU or memory intensive but is around a few thousand
lines of code and uses a few modules. It runs in less than a second.
Customers keep requesting new features and I am hesitant to just
blindly growing the code. What is the point where the code will take
too long to load into the interpreter (>3 seconds)? Can I juse use
modules wiley-niley or do I have to count the lines of code in them
too?
And what if the code does become too large ? Is there anything I can do
to speed it up?
Thanks!