mdgriffith / elm-optimize-level-2

BSD 3-Clause "New" or "Revised" License
128 stars 14 forks source link

Add replacements for List.mapN functions #77

Closed jfmengels closed 2 years ago

jfmengels commented 2 years ago

This improves the performance for all List.map2, List.map3, List.map4 and List.map5, using the same idea as for other List replacements.

I have only benchmarked it for List.map2, which gives the following results (against eol2):

Chrome:

FF: