<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Use Array.join instead of concatenating strings?!?</title>
	<atom:link href="http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/feed/" rel="self" type="application/rss+xml" />
	<link>http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/</link>
	<description>bursts of ideas and rants by the alterego</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:40:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Five quick Javascript tips - blog.andyhume.net</title>
		<link>http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/comment-page-1/#comment-127886</link>
		<dc:creator>Five quick Javascript tips - blog.andyhume.net</dc:creator>
		<pubDate>Tue, 26 Jan 2010 23:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/#comment-127886</guid>
		<description>[...] Update: A number of people have mentioned to me that the Array.join technique for string concatenation is a bad one, particularly if you&#039;re only doing it with a small number of strings. Our benchmarks show it being faster for IE when you get to about 6/7 string concatenations, so it&#039;s been useful to us in some situations. But I&#039;d agree with Stuart below that for the average situation it&#039;s not going to be worth it. However, I don&#039;t see using Array.join() for string concatenation as an abuse of JavaScript. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update: A number of people have mentioned to me that the Array.join technique for string concatenation is a bad one, particularly if you&#8217;re only doing it with a small number of strings. Our benchmarks show it being faster for IE when you get to about 6/7 string concatenations, so it&#8217;s been useful to us in some situations. But I&#8217;d agree with Stuart below that for the average situation it&#8217;s not going to be worth it. However, I don&#8217;t see using Array.join() for string concatenation as an abuse of JavaScript. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko Mrdjenovic</title>
		<link>http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/comment-page-1/#comment-59936</link>
		<dc:creator>Marko Mrdjenovic</dc:creator>
		<pubDate>Wed, 30 Jan 2008 13:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/#comment-59936</guid>
		<description>I think we can all agree that Array.join makes sense on a huge number of elements (more than 20) and only in IE.</description>
		<content:encoded><![CDATA[<p>I think we can all agree that Array.join makes sense on a huge number of elements (more than 20) and only in IE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Dobbs</title>
		<link>http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/comment-page-1/#comment-59604</link>
		<dc:creator>Bob Dobbs</dc:creator>
		<pubDate>Mon, 28 Jan 2008 21:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/#comment-59604</guid>
		<description>Using Array.join vs. the += operator made a huge difference in IE6. Your tests are also on a fairly small number of elements, The idea of array.join was that it might make sense on very large datasets.</description>
		<content:encoded><![CDATA[<p>Using Array.join vs. the += operator made a huge difference in IE6. Your tests are also on a fairly small number of elements, The idea of array.join was that it might make sense on very large datasets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eway Solutions &#187; Blog Archive &#187; Five quick JavaScript tips</title>
		<link>http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/comment-page-1/#comment-41338</link>
		<dc:creator>Eway Solutions &#187; Blog Archive &#187; Five quick JavaScript tips</dc:creator>
		<pubDate>Thu, 18 Oct 2007 12:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/#comment-41338</guid>
		<description>[...] A number of people have mentioned to me that the Array.join technique for string concatenation is a bad one, particularly if you&#8217;re only doing it with a small number of strings. Our benchmarks show it being faster for IE when you get to about 6/7 string concatenations, so it&#8217;s been useful to us in some situations. But I&#8217;d agree with Stuart below that for the average situation it&#8217;s not going to be worth it. However, I don&#8217;t see using Array.join() for string concatenation as an abuse of JavaScript. [...]</description>
		<content:encoded><![CDATA[<p>[...] A number of people have mentioned to me that the Array.join technique for string concatenation is a bad one, particularly if you&#8217;re only doing it with a small number of strings. Our benchmarks show it being faster for IE when you get to about 6/7 string concatenations, so it&#8217;s been useful to us in some situations. But I&#8217;d agree with Stuart below that for the average situation it&#8217;s not going to be worth it. However, I don&#8217;t see using Array.join() for string concatenation as an abuse of JavaScript. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/comment-page-1/#comment-37109</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 11 Sep 2007 18:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/09/06/use-arrayjoin-instead-of-concatenating-strings/#comment-37109</guid>
		<description>Concatenating three long strings through array.join() was definitely the fastest for me. It was the only test (of the four) that had times of less than 1000 ms. Some were even down to 400 ms. On the other hand the slowest was 12 shorter strings using array.join().

Regular concatenation was about the same in both cases.

FF2 on Windows XP with P4 3.2 GHz (the hyper-threading kind).

YMMV.</description>
		<content:encoded><![CDATA[<p>Concatenating three long strings through array.join() was definitely the fastest for me. It was the only test (of the four) that had times of less than 1000 ms. Some were even down to 400 ms. On the other hand the slowest was 12 shorter strings using array.join().</p>
<p>Regular concatenation was about the same in both cases.</p>
<p>FF2 on Windows XP with P4 3.2 GHz (the hyper-threading kind).</p>
<p>YMMV.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

