Re:Safari is the new IE
by geocar on Saturday September 09, 2017 @06:15PM
(#15209439)
> > > I've heard no argument why the PTC mode should be intrinsically faster than the non-PTC mode
> > there's a simple one: Hitting the stack less means you hit less memory.
> But I explicitly acknowledge this in my comment!
Not really sure what your point is. If you agree that's an argument as to why tail-call elimination should be intrinsically faster, I'm not sure why you'd say it isn't.
I can't shake this feeling you think you're having a very different argument than I am.
> remember that there is so far only 1 major JS implementation that managed to do this without impact.
Which for some reason you think means this isn't an implementation issue.
> > there's a simple one: Hitting the stack less means you hit less memory.
> But I explicitly acknowledge this in my comment!
Not really sure what your point is. If you agree that's an argument as to why tail-call elimination should be intrinsically faster, I'm not sure why you'd say it isn't.
I can't shake this feeling you think you're having a very different argument than I am.
> remember that there is so far only 1 major JS implementation that managed to do this without impact.
Which for some reason you think means this isn't an implementation issue.