chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Lambda-lifting


From: felix winkelmann
Subject: Re: [Chicken-users] Lambda-lifting
Date: Fri, 4 Apr 2008 11:02:03 +0200

On Thu, Apr 3, 2008 at 5:07 PM, Houman Zolf <address@hidden> wrote:
>
>  I would be nice to understand the value of this optimisation, or
>  alternatively the cost of what we are trying to improve.
>  In given the example, what do we save exactly? Is it the creation of
>  the closure when we evalulate :
>
>   (let ((some-func (lambda (x) (print "x: " x ", y: " y))))
>  Intuitively, I thought the creation of all these closures  in the
>  evaluation chain would be expensive.
>

Apparently, allocation speed is sufficient to create these
closures without too much a performance impact. But as
I said, the lambda-lifter is pretty stupid.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]