It’s faster to check if a number is > 0 than to coerce it to a boolean, e.g. `while(num-- > 0)` beats `while(num--)`. http://mths.be/ali
7:42 AM - 13 Oct 2010
0 replies
3 retweets
1 like
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.