Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimize F# tupled and curried arguments and local functions #648
A lot of
Further, local tupled/curried functions can be optimized to flat form not only if they are only used locally, but when they are also passed to functions that are accepting the optimized form.
A new component is
Metadata contains purity and currying information in a new
Local curried/tupled functions are converted to flat and currying/decurrying and tupling/detupling pairs are erased.
Optimizations are now run in a few more steps:
Added some tests for compilation in