On Sep 29, 2014, at 11:00 AM, Mark S. Miller wrote: > Agreed. TCO or PTC specified only for strict mode functions, not for all > non-sloppy functions. > > Would be nice to extend this at least to bound functions resulting from > binding a strict function, but too late to consider for ES6. In any case, all > such TCO extensions can compatibly happen later. >
Bound functions don't have bodies, and hence don't directly make ECMAScript function calls. All they do is delegate their [[Call]] behavior to the target function's [[Call]]. No particular reason an implementation can't optimize through that if they want to. Allen _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

