Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Object Oriented Perfomance

by stephen (Priest)
on Apr 23, 2001 at 22:24 UTC ( [id://74816]=note: print w/replies, xml ) Need Help??


in reply to Object Oriented Perfomance

Object Oriented Perl will say more about this subject than any of our posts or any known online documentation.

That being said, you should also check out the 'use fields' module. One of the bigger slowdowns for working with class modules is that most of them (for good reason) are based on hashes. The fields module lets you use pseudo-hashes instead. Pseudo-hashes look pretty much like normal hash references, but internally they're arrays, so they give faster access. Plus, using fields gives you better error-checking on field names, since a pseudo-hash'll raise an exception on a misspelled key.

stephen

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-25 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found