On Mon, Jul 1, 2024, at 5:28 PM, Lynn wrote:
> "A side effect of that optimization, however, is that we cannot
> proactively detect the bug above. Instead, it would result in an
> infinite loop, which would eventually trigger a a stack overflow."
>
> This got a small typo ("a a" at the end).
Fixed, thanks.
> This reads no different to me
> than infinite recursion between 2 methods. It honestly does not bother
> me, and any static analysis tool will be able to pick this anyway.
> Sounds like a free performance gain to me!
Yep, it would be exactly 2 method recursion, and the engine would naturally treat it as such.
--Larry Garfield