Predicting inlining behavior for nested functor applications
Functor Application Overhead In OCaml, functors allow modules to be parameterized by other modules. When these functors are applied, the compiler must decide whether to inline the application or rely on dynamic dispatch. In scenarios involving deeply nested functor chains, the overhead of dynamic dispatch can become a significant performance bottleneck. Comp