We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
That link benchmarks Moo 0.009007 which is over 18 months old; the current version is 1.000005. An important speed factor for Moo is the availability of Class::XSAccessor. If that module is installed, Moo uses it to create very fast accessors. If it's not installed, Moo falls back to slower, pure Perl accessors. Because I've recently been working with Ingy on Moos (despite the name, it's actually smaller than Moo), I have some fairly up-to-date benchmarks for accessors across the Moose family... Moo has the fastest of the pure Perl accessors; and with XS, again it's the fastest.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In reply to Re^5: Mouse role fails
by tobyink
|
|