When writing Javascript code (or any code for that matter), it is important to be as efficient as possible, especially if you are dealing with the DOM and doing some major document object manipulation. With the increased interest in User Scripts (a la Greasemonkey and Browser powered User Scripts) optamizing your loops and object references could have a major impact on the performance of your scripts. Read the full article.
[via: Fiftyfoureleven.com]