Listen to Axel, y’all. Don’t focus on manual micro-optimizations, instead write readable code and let JS engines do their job!https://twitter.com/rauschma/status/1171459042474020864 …
-
-
Replying to @mathias
Thomas Steiner Retweeted Mathias Bynens
Curious. Would you call https://twitter.com/mathias/status/1143551692732030979 … a macro optimization?
Thomas Steiner added,
1 reply 0 retweets 4 likes
Replying to @tomayac
It’s another example of an optimization I wouldn’t expect anyone to apply by hand. It’s one of those rare cases though where it makes sense for JS build tools to apply a transform (because this is not some implementation-specific detail, but rather applies everywhere).
8:50 AM - 11 Sep 2019
0 replies
0 retweets
2 likes
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.
Perf tip: if your web app ships large JSON-like configuration as JavaScript object literals, consider using JSON.parse instead. It’s much faster, especially for cold loads!