Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Help understanding object constructors (by Perl Best Practices book)

by adrianh (Chancellor)
on Nov 07, 2005 at 15:04 UTC ( #506362=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Help understanding object constructors (by Perl Best Practices book)
in thread Help understanding object constructors

They are about 10x slower than hash- or array-based objects under average use

Agree with everything apart from this one, which doesn't match my experiences at all.

My inside out classes are within a gnat's whisker of being as fast as plain hash-based objects wherever I've used them, and the slowest inside-out object framework that I've come across (Class::Std) is only a bit over twice as slow when I've benchmarked it.


Comment on Re^3: Help understanding object constructors (by Perl Best Practices book)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://506362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2014-09-20 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls