At 17:47 30/08/2004 -0500, you wrote: >
> FYI, I have found an optimization worth mentioning: document.write > calls are EXPENSIVE, so I shaved off something like 30% of the > source-emit time by building a string and writing it in one go.
ooh thats a nice tip.. thanks!
Bear in mind that JS string concatenation can also be extremely slow if the string you're writing to gets very long. It turns out to be better to build shorter strings and then join them together.
I did a load of work on this with the help window (which at the time was over 100K of HTML) and made some big improvements in performance back then.
I don't know what the optimum 'chunk' size would be, but the effect is worth being aware of.
Cheers,
Will
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ DQSD-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-devel
