On Tue, Oct 21, 2008 at 12:28:42AM +0100, Tomas Hlavaty wrote:
> http://logand.com/picoWiki/trampoline so feel free to comment on it.
Beautiful!
--
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]
Hi all,
>> 1) Does the Interpretor do any kind of tail call optimisation, I
>
> No, not at all.
>
> As far as I can see, this is not easy to implement in an efficient way.
> The interpreter would have to detect tail recursion at runtime, which
> takes much more than time than simply executing the
Yes, you answered the questions I asked, and gave the answers I suspected.
I think part of the point with Direct Threading is that you need to
explicitly tell gcc to enable it when compiling the VM, and write some
switch statements in a certain way. Haven't got my head around the
code yet. It make
Hi Konrad,
> 1) Does the Interpretor do any kind of tail call optimisation, I
No, not at all.
As far as I can see, this is not easy to implement in an efficient way.
The interpreter would have to detect tail recursion at runtime, which
takes much more than time than simply executing the call/ret