Re:A better inliner for OCaml, and why it matters
by wk_end on Wednesday February 24, 2016 @06:23PM
(#11171072)
To be clear, I don't believe flambda is providing anything on the scale of whole program optimization; it inlines more aggressively, but not the entire program.
[ Parent
| on HN ]
Re:A better inliner for OCaml, and why it matters
by Drup on Wednesday February 24, 2016 @06:34PM
(#11171133)
That is not exactly correct, it also does cross module inlining. Now, suppose you tweak a bit your parameters to inline ... liberally. It's going to inline all the mirage functors directly into your main, which enables various things.
Of course, that's going to take a bit of time to compile.
Also, IIRC, all the ingredients are in place for link time optimizations, but they were not developed for ocaml 4.03.