<?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: 从压缩角度，看字符串拼装的最高效方法</title>
	<atom:link href="http://lifesinger.org/blog/2009/07/string-concat/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifesinger.org/blog/2009/07/string-concat/</link>
	<description>关注用户体验、前端开发，记录生活点滴、岁月足迹。</description>
	<lastBuildDate>Wed, 08 Sep 2010 15:14:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: yiminghe</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1754</link>
		<dc:creator>yiminghe</dc:creator>
		<pubDate>Tue, 28 Jul 2009 09:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1754</guid>
		<description>firefox 等好像对 + 字符串优化了吧
看ext-core 的源码里 特殊判断 ie 的话 用 join 否则用 + 
不知道为什么</description>
		<content:encoded><![CDATA[<p>firefox 等好像对 + 字符串优化了吧<br />
看ext-core 的源码里 特殊判断 ie 的话 用 join 否则用 +<br />
不知道为什么</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 天堂左我往右</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1714</link>
		<dc:creator>天堂左我往右</dc:creator>
		<pubDate>Sun, 26 Jul 2009 07:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1714</guid>
		<description>java  c#告诉我们,字符串+每次都会生成新实例...所以Array效率最高

不过俺常常用B方法...</description>
		<content:encoded><![CDATA[<p>java  c#告诉我们,字符串+每次都会生成新实例&#8230;所以Array效率最高</p>
<p>不过俺常常用B方法&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 小马</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1679</link>
		<dc:creator>小马</dc:creator>
		<pubDate>Fri, 24 Jul 2009 04:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1679</guid>
		<description>同意秦歌的论点，纯字符串拼接，方式B最优。</description>
		<content:encoded><![CDATA[<p>同意秦歌的论点，纯字符串拼接，方式B最优。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 秦歌</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1678</link>
		<dc:creator>秦歌</dc:creator>
		<pubDate>Fri, 24 Jul 2009 03:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1678</guid>
		<description>当然这种方式是指纯粹的字符串直接量的瓶装，如果有变量的话，还是Array.join(&#039;&#039;)好。</description>
		<content:encoded><![CDATA[<p>当然这种方式是指纯粹的字符串直接量的瓶装，如果有变量的话，还是Array.join(&#8221;)好。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jayli</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1677</link>
		<dc:creator>jayli</dc:creator>
		<pubDate>Fri, 24 Jul 2009 03:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1677</guid>
		<description>相信我，第三中方式是速度最快的，而且比的一种方式快很多！</description>
		<content:encoded><![CDATA[<p>相信我，第三中方式是速度最快的，而且比的一种方式快很多！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 秦歌</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1675</link>
		<dc:creator>秦歌</dc:creator>
		<pubDate>Fri, 24 Jul 2009 03:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1675</guid>
		<description>@怿飞：看看http://www.slideshare.net/nzakas/extreme-javascript-compression-with-yui-compressor 这个，不仅仅能让你的代码压缩更小，也能提升代码的效率，很多都是相同的。强语言的效率是通过编译工具解决，JS这方面的工具也正在成长。</description>
		<content:encoded><![CDATA[<p>@怿飞：看看http://www.slideshare.net/nzakas/extreme-javascript-compression-with-yui-compressor 这个，不仅仅能让你的代码压缩更小，也能提升代码的效率，很多都是相同的。强语言的效率是通过编译工具解决，JS这方面的工具也正在成长。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 秦歌</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1674</link>
		<dc:creator>秦歌</dc:creator>
		<pubDate>Fri, 24 Jul 2009 03:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1674</guid>
		<description>这个要顶一下，每种优化方案都有其使用范围，而前端的工作特点往往更需要考虑几种步骤的综合结果。有了压缩，方式B不仅仅性能和压缩量最好，而源码本身也更易于编写、理解和维护。一举多得啊。</description>
		<content:encoded><![CDATA[<p>这个要顶一下，每种优化方案都有其使用范围，而前端的工作特点往往更需要考虑几种步骤的综合结果。有了压缩，方式B不仅仅性能和压缩量最好，而源码本身也更易于编写、理解和维护。一举多得啊。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 怿飞</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1673</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Fri, 24 Jul 2009 03:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1673</guid>
		<description>嘎嘎，又学到了一点，原来YUICompressor这样来压缩的呀，一直只知道用，从没挖掘过背后的一些机制，顶！</description>
		<content:encoded><![CDATA[<p>嘎嘎，又学到了一点，原来YUICompressor这样来压缩的呀，一直只知道用，从没挖掘过背后的一些机制，顶！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lifesinger</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1669</link>
		<dc:creator>lifesinger</dc:creator>
		<pubDate>Fri, 24 Jul 2009 02:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1669</guid>
		<description>可能我忘了强调：“从压缩角度”
YUICompressor 可以把 var t = &quot;a&quot; + &quot;b&quot;; 直接压缩成 var t = &quot;ab&quot;; 因此性能和压缩量都最好。</description>
		<content:encoded><![CDATA[<p>可能我忘了强调：“从压缩角度”<br />
YUICompressor 可以把 var t = &#8220;a&#8221; + &#8220;b&#8221;; 直接压缩成 var t = &#8220;ab&#8221;; 因此性能和压缩量都最好。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karry</title>
		<link>http://lifesinger.org/blog/2009/07/string-concat/comment-page-1/#comment-1668</link>
		<dc:creator>karry</dc:creator>
		<pubDate>Fri, 24 Jul 2009 02:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1993#comment-1668</guid>
		<description>之前看的文章一直说大字符串的拼接最好用数组join吗，就像c#里面的StringBuilder.
http://james.padolsey.com/javascript/fastest-way-to-build-an-html-string/</description>
		<content:encoded><![CDATA[<p>之前看的文章一直说大字符串的拼接最好用数组join吗，就像c#里面的StringBuilder.<br />
<a href="http://james.padolsey.com/javascript/fastest-way-to-build-an-html-string/" rel="nofollow">http://james.padolsey.com/javascript/fastest-way-to-build-an-html-string/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
