develooper Front page | perl.perl5.porters | Postings from February 2011

Re: [PATCH] use feature 'method' take two

Thread Previous | Thread Next
Reverend Chip
February 2, 2011 22:22
Re: [PATCH] use feature 'method' take two
Message ID:
On 2/2/2011 5:54 PM, Sam Vilain wrote:
> MooseX::Method::Signatures suffers from huge performance problems,
> precisely because it is *not* in core - it has to use PPI to parse the
> signatures.  That sucks very very much.  It also has to try and apply
> those signatures using very hairy code.  There is absolutely zero way
> that these type constraints can be proved at compile time even when you
> declare variables' types so you pay a huge runtime penalty.

Indeed, these latter problems are why I like Method::Signatures (which
amounts to 'just' syntactic sugar), but not its MooseX sibling.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About