Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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

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 perusing the Monastery: (4)
As of 2016-09-28 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (518 votes). Check out past polls.