@smashingconf question for @mathias:
const arr = [];
let i = length;
while (i--) arr[i] = whatever;
Does are therefore become a holy array and deopt?
-
Show this thread
Replying to @jaffathecake @smashingconf
Another clarification: it’s not quite a “deopt”. We can still optimize it, just not as effectively. (Deoptimization is a term with a different meaning: it’s when generated TurboFan-optimized code becomes invalid because one of the assumptions behind it is no longer true.)
12:33 AM - 9 Feb 2018
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.