Optimizing code

This is a page on code optimization--practices that encourage efficient code.

Avoid shift
Shifting to get arguments from  is slower than using   (for short functions of 1-5 lines) or   (for longer functions). (source)