in reply to Re^3: what would you like to see in perl5.12?
in thread what would you like to see in perl5.12?
Oh, you meant runtime performance! Sorry, I completely failed to recognize that. I thought you meant the clunkiness of Perl 5 subroutine argument processing:
my ($foo, $bar, $baz); # oops, forgot " = @_" my ($foo, $bar, $baz) = shift; # oops, used shift() instead of +"@_" my $single_arg = @_; # oops, will usually be 1
Perl6::Declare lets you declare subroutine/methods using Perl 6 signatures, which are lovely. I heard this turns out to actually be faster than Perl 5 calling conventions, but I can't say I fully understand why this is so.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: what would you like to see in perl5.12?
by BrowserUk (Patriarch) on Aug 09, 2008 at 20:57 UTC | |
by gaal (Parson) on Aug 09, 2008 at 21:21 UTC | |
by BrowserUk (Patriarch) on Aug 10, 2008 at 04:59 UTC | |
by gaal (Parson) on Aug 10, 2008 at 20:53 UTC |
In Section
Meditations