lifthrasiir / roadroller

Roadroller: Flattens Your JavaScript Demo
https://lifthrasiir.github.io/roadroller/
Other
328 stars 12 forks source link

Avoid using control codes in the generated code if possible #16

Open lifthrasiir opened 3 years ago

lifthrasiir commented 3 years ago

I though it wasn't much of issue, but it is clearly causing an UX problem. U+007F seems okay, but U+001F doesn't render in many environments so an alternative would be appreciated.

lifthrasiir commented 3 years ago

So far the best I could come up with was (ι.charCodeAt(ρ++)-XX||YY), which will cost ~9 additional bytes. While this overhead is negligible I kinda want a cleaner solution...