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.

Reply via email to