Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 about the Monastery: (11)
As of 2015-07-07 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls