Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: using modules

by dsheroh (Prior)
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045027]
erix learned the word 'portaging' not so long ago (from vikings lugging their ships from one river-system to another)
[choroba]: my best run so far
[erix]: I think they build a portaging installation for yachts here not so long ago - lemme google it
[erix]: choroba ah, you should have sprinted 7 s off that :)
[erix]: (but then there's always a next (im)possible goal)
Corion avoids running by starting on time
[choroba]: my phone showed me 1 hour 10 km which was my goal, it changed a bit after uploading to the website
[erix]: choroba I believe you ;)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-05-24 12:50 GMT
Find Nodes?
    Voting Booth?