http://www.perlmonks.org?node_id=1095893


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 (Canon) 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?