Tag Archives: performance

<<0 faster than ~~ at least in chrome 10.0.648.15 (parseInt alternatives)

Was reading about use of ~~ in javascript http://james.padolsey.com/javascript/double-bitwise-not and saw the comment from Lea about using <<0 to achieve the same, so I thought it would be interesting to compare the performance of both. In my tests which tested … Continue reading

Posted in JavaScript | Tagged | Leave a comment