develooper Front page | perl.perl6.language | Postings from August 2001

Re: Expunge implicit @_ passing

Thread Previous | Thread Next
From:
John Porter
Date:
August 28, 2001 07:05
Subject:
Re: Expunge implicit @_ passing
Message ID:
20010828100542.C6693@min.net
Michael G Schwern wrote:
> On Mon, Aug 27, 2001 at 10:58:00AM -0400, John Porter wrote:
> > You can, with C< goto &$foo; >.
> > Problem is, it's *slower* (in p5 anyway) than the plain sub call.
> 
> By only 10%.  Let's keep things in proportion here.

O.k., thank you for supplying the proportion.

But it's still a bad proportion.  goto &$foo should be *faster*.
And I mean this as a -language person, not as an -internals person.
Tail recursion elimination -- even if it must be explicit, as in
perl5 -- should be faster than a recursive call.

-- 
John Porter

A word spoken in the mind will reach its own level in the objective truth.


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