Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
[stevieb]: Strawberry Perl csums have been corrected. Thanks again pryrt for helping test!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-03-29 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (353 votes). Check out past polls.