Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Inlining & direct function application optimisation #4918
Original bug ID: 4918
ocamlopt does not recognise direct function applications which arise from inlining even trivial functions. For example,
let id f = f
let _ = f 10
The call to id is correctly inlined, but then the direct call is not recognised.