dillonkearns / elm-graphql

Autogenerate type-safe GraphQL queries in Elm.
https://package.elm-lang.org/packages/dillonkearns/elm-graphql/latest
BSD 3-Clause "New" or "Revised" License
778 stars 107 forks source link

Performance improvements #639

Open jfmengels opened 2 months ago

jfmengels commented 2 months ago

I had a go through the codebase, and found a bunch of performance optimizations that could be applied.

(The only one with a perf trade-off is I think the last one, let me know if I should keep or remove it)

Also upgrades elm-review and adds Simplify and NoPrematureLetComputation, which found a few issues.

I wish you a happy reviewing of an unrequested large PR :stuck_out_tongue: