... I'd say a far scarier thing from this "optimization advice" post is that for (let x ...) seems to be 3x slower than for (var x ...)
-
-
Replying to @mraleph
@mraleph There are cases where let generates a large number more instructions than var:https://gist.github.com/trevnorris/73b0d8c0e831d6e48caa …1 reply 1 retweet 1 like -
Replying to @trevnorris
@trevnorris yeah, I already looked at it and was like "how strange is let specified that you have to produce all this dead code?"2 replies 1 retweet 0 likes -
Replying to @trevnorris
@trevnorris it's more like "not needed", the code looks like it tests things that are statically known.1 reply 0 retweets 0 likes -
Replying to @trevnorris
@trevnorris@mraleph It'd likely be for TDZ (which class bindings fall under).2 replies 0 retweets 0 likes -
Replying to @sebmck2 replies 0 retweets 1 like
-
Replying to @trevnorris
@trevnorris@sebmck also known as 絶対幸運圏 (Zone of Absolute Fortune) in which everyone's desires come true.1 reply 0 retweets 3 likes
@trevnorris Temporal dead zone. https://gist.github.com/rwaldron/f0807a758aa03bcdd58a … should explain it well. Can't refer to binding before it's initialized. @mraleph
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.
he/him 