Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by adrianh (Chancellor)
on Nov 07, 2005 at 15:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://506362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-18 00:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found