Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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)

Replies are listed 'Best First'.
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 wandering the Monastery: (10)
As of 2016-08-25 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (361 votes). Check out past polls.