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

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

( #506710=categorized answer: print w/ replies, xml ) Need Help??

Q&A > object-oriented programming > Why are objects slower than procedural subs/data structs? 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-04-01 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (51 votes), past polls