Re: 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

Re: Javascript String Concatenations

From: zif <zifud@hotmail.com>
Date: Wed Nov 30 2005 - 22:09:19 CET

web.dev wrote:
[...]
> Unless you have written an optimized
> code, that study does not accurately show the performance impact of
> string concatenations just because there are other factors that are
> heavily weighed in (to me anyways).

If the point is to test the performance of concatenation against some
other method, then the code for each block should be identical except
for the concatenation and its alternative.

It is the performance of the concatenation that is being tested, not the
surrounding code.

-- 
Zif
Received on Sat Dec 3 04:34:00 2005