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

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

Thread Previous | Thread Next
From:
Zefram
Date:
February 3, 2011 03:04
Subject:
Re: [PATCH] use feature 'method' take two
Message ID:
20110203110421.GB12789@lake.fysh.org
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's going to get a lot better with the new parser callback interfaces
in 5.14.  No more PPI, you can call into the real parser.

>                                         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.

That wouldn't change if it were in the core.

-zefram

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