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.


----- Original Message -----
From: "Raymond Irving" <[EMAIL PROTECTED]>
To: "DynApi-Help" <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 7:34 PM
Subject: [Dynapi-Help] HyperString Really Rocks!


> Hello,
>
> Take a look at the HyperString (formerly StringObject)
> Object test page to see how you can improve code
> executions.
>
> http://www24.brinkster.com/dyntools/samples/hyperstring.html
>
>
> --
> Raymond
>
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
>


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to