elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.53k stars 663 forks source link

Minimal fix for issue #2241 #2330

Open changlinli opened 3 months ago

changlinli commented 3 months ago

This fixes https://github.com/elm/compiler/issues/2241

Preliminary testing seems to indicate this isn't as bad of a slowdown as it may seem. For more details see https://github.com/Zokka-Dev/zokka-compiler/pull/20

This is meant as a reference PR for other people working on the Elm compiler.

github-actions[bot] commented 3 months ago

Thanks for suggesting these code changes. To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.