Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: using modules

by dsheroh (Parson)
on Jul 18, 2013 at 08:43 UTC ( #1045027=note: print w/ replies, xml ) Need Help??


in reply to using modules

No, being in a module vs. being in the main program has virtually zero effect on how fast or slow any given chunk of code will run. ("Virtually" zero because having to open an additional file may add a millisecond or two to the program's startup time.)

An individual module may slow down your program considerably, but that's because it's doing something that's slow to do. Being in a module has nothing to do with that. Putting the same code into the main program instead of a module will still be just as slow.


Comment on Re: using modules

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045027]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2014-07-23 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (139 votes), past polls