Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: Why are objects slower than procedural subs/data structs?

by pajout (Curate)
on Nov 08, 2005 at 12:38 UTC ( #506710=categorized answer: print w/replies, xml ) Need Help??

Q&A > object-oriented programming > Why are objects slower than procedural subs/data structs? - Answer contributed by pajout

Object Methods Calls Versus Function Calls contains nicely described benchmarks. The simple reason is that it very depends on CPU-cost of subroutine bodies.

  • Comment on Answer: Why are objects slower than procedural subs/data structs?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2017-07-29 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (435 votes). Check out past polls.