Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
[Discipulus]: welcome WinnieB, good morning marto
[marto]: good morning all
[Corion]: Good morning ;)
[marto]: meh, that's the last time I reply to finddata, I don't see an improvement in attitude or approach

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-03-30 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (353 votes). Check out past polls.