It seems that F # automatically builds some functions, even if they are not marked "inline".
let ax= x + 3 let bx= x * x let funB xy = if x > y then 3 else 1 let funC x = let s = ax let c = funB s (bx) c + 1
Checking IL, I see that the compiler aggressively funB and a,b
funC: IL_0000: nop IL_0001: ldarg.0 IL_0002: ldc.i4.3 IL_0003: add IL_0004: stloc.0
The behavior looks strange to me. I thought that the compiler should only be built-in if there is an inline . Are there any references to her?
source share