Subj : Re: associating an object with a Function object To : netscape.public.mozilla.jseng From : Brian Genisio Date : Mon Mar 08 2004 07:39 am Brendan Eich wrote: > Brian Genisio wrote: > >> The function object storing mechanism used is used on the CNN web page. > > > > Can you point me to the .js file? Mozilla loads CNN without complaint, > and when AOL was funding a lot of Mozilla development, making CNN work > right was a priority. Sure... it is included at the top of www.cnn.com: http://ar.atwola.com/file/adsWrapper.js Note that it only does this, in IE for win32, which is why Netscape gives no errors. (I never claimed Netscape to fail, or do anything wrong... I simply need to support the capability, while using spidermonkey if possible) > >> A poster in comp.lang.javascript claims that it is a speed >> enhancement... though I cannot immagine it is worth the portability loss. > > Did that poster actually measure a speed enhancement? Nah... in fact, since my last post, someone posted an example that tested the speed theory, and found it was actually 3 times slower to use that method!!! Cheers, Brian .