Skip to content

Conversation

Wheatwizard
Copy link

List Zipping

For the existing implementions of list zipping functions, (ie List.map2, List.map3, List.map4, and List.map5) Elm builds a Javascript array containing the results and then converts it to an Elm List.
We can replace this implementation with a faster one that builds the result List with no intermediate steps.

Results Summary

  • The improved implementations of List.map2 and List.map3 are benchmarked here, which sees performance improvements over Elm's normal List.map2 and List.map3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant