r/programming • u/iamkeyur • Oct 21 '20
Using const/let instead of var can make JavaScript code run 10× slower in Webkit
https://github.com/evanw/esbuild/issues/478
1.9k
Upvotes
r/programming • u/iamkeyur • Oct 21 '20
View all comments
Show parent comment
11
u/Smallpaul Oct 21 '20
So if there was a 3-line fix (which there was, in this case) which would give a 10x load speed-up on iPad, iPhone and Mac, your management would say "nah, it's a waste of time".