I sometimes wonder why all JS minifiers prefer to emit semicolons when they could leverage ASI and emit newlines instead. ASI is terrible for authoring (don't @ me!), but in this case it would produce exactly same byte size yet much more readable output.
-
-
Sure, but if it's a tool, it can explicitly output \n.
-
(also, with compression, \r\n is very likely to be negligible given how common it would be)
- 14 more replies
New conversation -
-
-
Is there are parse throughput difference between semi and ASI?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.