Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Perl object memory overhead (Benchmark special case?)

by tobyink (Abbot)
on Mar 31, 2014 at 16:54 UTC ( #1080428=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Perl object memory overhead (Benchmark special case?)
in thread Perl object memory overhead

There's this:

handles => { adjust_a => [ 'inc', 33 ] },

It's not as fast because the arrayref in handles results in a curried coderef, but not unacceptably slow either.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name


Comment on Re^4: Perl object memory overhead (Benchmark special case?)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2014-07-29 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (225 votes), past polls