Hi, I'll be doing some test on it to see if I can improve on it.
-- Raymond --- Richard Bennett <[EMAIL PROTECTED]> wrote: > Hi, > Your tests look really promising, so I tried > applying it to dynlayer.js' > getOuterHTML methods. > > you can see the test here: > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/dynapi/dynapi/test > s/hyperstring_speedtest.html > > I'm not sure whether there's a difference between: > hs.add('<div id="'+this.id+'" style="') > and > hs.add('<div id="') > hs.add(this.id') > hs.add('" style="') > > also, I couldn't get the for loop working with > hyperstring though: > for (var i=0; i<this.children.length; i++) > s+=this.children[i].getOuterHTML(); > > causes an error when doing > hs.add(this.children[i].getOuterHTML()) > > I was a little surprised to find the whole test was > actually slower using hs > though, maybe you can improve on the tests syntax? > > Cheers, > Richard. > > __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help