Javascript String Concatenations
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Javascript String Concatenations

From: <psimakov@outplay.com>
Date: Wed Nov 30 2005 - 19:05:01 CET

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 test study that shows dramatic performance impact of String
Concatenations and how to avoid it.

http://www.softwaresecretweapons.com/jspwiki/Wiki.jsp?page=JavascriptStringConcatenation
Received on Sat Dec 3 04:33:45 2005