http://commadot.com/jquery/experiments/speedtest/# I modified a version of jQuery to include that one line and it threw a JS error. Then I tried using the second way with the var doc = document and renamed document everywhere to be doc. No change at all in speed.
Glen On 10/12/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > > How much faster? > I can plug in a version of jQuery with that line and a version without > that line into the css selector speed test I guess to try. > > Glen > > On 10/11/07, luci <[EMAIL PROTECTED]> wrote: > > > > > > > > http://dankogai.vox.com/library/post/one-liner-that-accelerates-javascript-on-ie.html > > > > This is very interesting suggestion to accelerate js. > > Replacing document object to a argument, it works more speedy on IE. > > > > >