[nem-en] An idea on tail recursible functions

Snaury snaury at gmail.com
Tue Jul 4 16:34:49 CEST 2006


On 7/3/06, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> Actually getting rid of one / two calls is not very useful.

I don't know. Take, for example, my late macro (download the latest
version), inside of invoke() it has function make_call() which is
called twice with different parameters. Because of this it was made
into static method, *and* now it takes a closure. So creation of
closure (which is a class with all the runtime junk) with every
invocation of invoke() is what really bothers me here. If this
function would not become a static method, there would be no need of
closure...



More information about the devel-en mailing list