Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize arity wrapper for << and >>
Prior to this, << (and similarly >>) would be compiled to var $elm$core$Basics$composeL = F3(function (g, f, x) { ... }) which doesn't match the call sites, which is always of the shape A2($elm$core$Basics$composeL, f, g) This change makes it so that composeL/composeR are now wrapped with A2, which improves the performance by about 30%.
- Loading branch information