The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

JavaScript String Concatenations

I have posted this once, but it is gone from the forum. Let me try again...


I just read a great article by Dave Johnson on comparative performance of XML and JSON parsing. It is a very important for anyone doing AJAX.


But the parsing is not the only place where CPU can be wasted. I personally consider String Concatenations to be even bigger evil.


Here is a test study that shows dramatic performance impact of String Concatenations and how to avoid it.

 http://www.softwaresecretweapons.com/jspwiki/Wiki.jsp?page=JavascriptStringConcatenation
Pavel Simakov Send private email
Wednesday, November 30, 2005
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz