to figure out the best way to detect a PTC, @TRGWII can it be a PTC via control flow or does it have to be unambiguous?
http://2ality.com/2015/06/tail-call-optimization.html#checking-whether-a-function-call-is-in-a-tail-position
So, it's always unambiguous. It can always be detected
Обсуждают сегодня