[racket] disable inlining for recursive functions

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Fri Dec 7 08:16:25 EST 2012

On Fri, Dec 7, 2012 at 1:12 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> From the inliner's perspective `sistemabile?' isn't all that small,
> because `for/or' expands to a significant pile of code. More
> importantly, it turns out that the loop inside `positione-accettabile?'
> is unrolled a little (i.e., a recursive call or two is inlined), so
> after the unrolling, `sistemabile?' is used in multiple places.

Ah!  now I understand.

I hadn't thought about the interaction with unrolling.

Thanks!
P.

Posted on the users mailing list.