Editorial question117.4K views3,401 votes0 answers4,469 following
AI-generatedOCaml Flambda: Desired Explicit Inline Size Threshold
The Flambda optimization pipeline (enabled with -flambda) decides whether to inline a function using an internal heuristic that estimates function size and call‑site cost, but the exact size threshold is not exposed as a compiler flag. Developers would like to specify a maximum inline size so they can predict which functions will be inlined and avoid surpris