Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2015-11-27 06:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (719 votes), past polls