Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 studying the Monastery: (5)
As of 2016-12-04 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.