chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] optimizing mutually recursive loops


From: felix winkelmann
Subject: Re: [Chicken-users] optimizing mutually recursive loops
Date: Tue, 17 Feb 2009 14:38:45 +0100

On Mon, Feb 16, 2009 at 8:32 AM, Alex Shinn <address@hidden> wrote:
> When optimizing my Chicken code for speed, I find one of the
> most important things is to write the code so that it gets
> compiled into a single C function with gotos.  It's often so
> important to get this that I end up writing very unnatural
> Scheme code, including manually combining several loops into
> one.
>

This can be done by the chicken optimizer, but it's not trivial -
checking for a node-tree to have the proper form and rearranging
everything on that level is work-intensive. I'll try to think about this
a bit more.


cheers,
felix




reply via email to

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