Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Re: Re^3: (~OT) How to measure Perl skills?

by QM (Vicar)
on Mar 24, 2004 at 23:53 UTC ( #339593=note: print w/ replies, xml ) Need Help??

in reply to Re: Re^3: (~OT) How to measure Perl skills?
in thread How to measure Perl skills?

There's a method cache table??? You [or I, in this case] learn something new everyday.

Quantum Mechanics: The dreams stuff is made of

Comment on Re: Re: Re^3: (~OT) How to measure Perl skills?
Re: Re: Re: Re^3: (~OT) How to measure Perl skills?
by diotalevi (Canon) on Mar 25, 2004 at 00:03 UTC
    Sure. If you say $obj->foo more than once only the first time suffers an OO penalty. The rest are just hash lookups and IIRC aren't more expensive than function calls. The whole OO-penalty thing people go on about is really about the process of finding foo in $obj's @ISA but that only happens when there isn't a current cache entry to pull from.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-06-29 23:10 GMT
Find Nodes?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?

    Results (774 votes), past polls