Thanks for suggesting these code changes. To set expectations:
Pull requests are reviewed in batches, so it can take some time to get a response.
Smaller pull requests are easier to review. To fix nine typos, nine specific issues will always go faster than one big one. Learn why here.
Reviewers may not know as much as you about certain situations, so add links to supporting evidence for important claims, especially regarding standards for CSS, HTTP, URI, etc.
Finally, please be patient with the core team. They are trying their best with limited resources.
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.