Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: When to Use Object Oriented approach in Perl? (RFC)

by ikegami (Pope)
on Aug 01, 2014 at 12:07 UTC ( #1095893=note: print w/ replies, xml ) Need Help??


in reply to Re: When to Use Object Oriented approach in Perl? (RFC)
in thread When to Use Object Oriented approach in Perl? (RFC)

Method calls are very slightly slower than function calls...

How much? 0.000,000,030 s slower according to your benchmark. That's a mere 30 nanoseconds!


Comment on Re^2: When to Use Object Oriented approach in Perl? (RFC)
Re^3: When to Use Object Oriented approach in Perl? (RFC)
by tobyink (Abbot) on Aug 01, 2014 at 14:14 UTC

    I know, it seems wrong to use the word "slow" to describe anything that's being done over 4 million times per second. How about saying that method calls are not quite as insanely fast as function calls?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-09-24 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (243 votes), past polls