Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: use vs. require in string eval?

by Wonko the sane (Deacon)
on Mar 11, 2004 at 22:15 UTC ( #335995=note: print w/replies, xml ) Need Help??

in reply to use vs. require in string eval?


I think something else is going on there, if you are getting benchmarks that are that different,
with these two statements. Require and use should take up about the same amount of time,
and they do "essentially" the same thing. The main difference being of course that require's are done at runtime,
while use's are done at compile time.
Unless of course you have them wrapped in an eval, which would cause them both to be done at runtime.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://335995]
[LanX]: pryrt: yeah, that's why I didn't consider, but the last >10 anonymous posts are from the same troll-person
[jdporter]: is there a module for expanding tabs in text?
[jdporter]: A: yes.
[Lady_Aleena]: I don't know how hard it will be to get out of that mess.
[LanX]: M-x untabify
[choroba]: I don't think they're multiple people. I was told "he or she" sounds old-fashioned and "they" is the way to say it
[pryrt]: Those others were definitely offensive or unequivocably rude, I agree.
[choroba]: (well, it comes from the 14th century, so labelling it as "modern" doesn't seem appropriate)
[Your Mother]: "They" is becoming accepted but it irritates me sometimes. I tend to just pick she or he randomly or try to use "one."
LanX thinks it is appropriate here :)

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