Here's another one for you, one of my favorites that used to be drastic: http://jsperf.com/pipetrunc
blah | 0; // fast!
Math.floor(blah); // slow(er)! (except on FF nightly)
Caveat: Only works with numbers greater than -2147483649 and less than 2147483648.