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

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

Thread Previous | Thread Next
Sam Vilain
February 3, 2011 17:30
Re: [PATCH] use feature 'method' take two
Message ID:
On 04/02/11 00:04, Zefram wrote:
>>                                         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.

Not instantly, no - but it would be nice to be able to move towards a
world where Perl is actually capable of skipping some run-time type
checks because it already knows that they can't be violated.  I'm not
saying this is going to be easy!


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