Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 about the Monastery: (6)
As of 2015-07-02 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (29 votes), past polls