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

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

Thread Previous | Thread Next
From:
Reverend Chip
Date:
February 2, 2011 22:22
Subject:
Re: [PATCH] use feature 'method' take two
Message ID:
4D4A497A.9080206@gmail.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About