http://qs321.pair.com?node_id=1066608


in reply to Re: Variable number of foreach loops (improving performance)
in thread Variable number of foreach loops

You'll gain a lot more speed rewriting it in XS and using the multicall interface to call $code.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name