<?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: Improving PhotoSynth extension performance</title>
	<atom:link href="http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/</link>
	<description>ASTRE Henri experiments with Ogre3D and web stuff</description>
	<lastBuildDate>Tue, 22 Aug 2017 10:32:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Henri</title>
		<link>http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/comment-page-1/#comment-12797</link>
		<dc:creator>Henri</dc:creator>
		<pubDate>Tue, 01 May 2012 18:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2150#comment-12797</guid>
		<description>@Bart: thanks for the tip but in fact this is an old optimization that is no longer valid (js engine have optimized string concat now: you can check &lt;a href=&quot;http://jsperf.com/join-concat/2&quot; rel=&quot;nofollow&quot;&gt;this jsperf&lt;/a&gt; for example). I have described the solution I end up with in &lt;a href=&quot;http://www.visual-experiments.com/2012/03/25/webgl-photosynth-extension-updated/&quot; rel=&quot;nofollow&quot;&gt;my next post&lt;/a&gt;. The big issue was in fact the memory usage and the high number of temporary object created and garbage collected. So writing directly in a binary array was the only way to keep memory usage low (AFAIK).</description>
		<content:encoded><![CDATA[<p>@Bart: thanks for the tip but in fact this is an old optimization that is no longer valid (js engine have optimized string concat now: you can check <a href="http://jsperf.com/join-concat/2" rel="nofollow">this jsperf</a> for example). I have described the solution I end up with in <a href="http://www.visual-experiments.com/2012/03/25/webgl-photosynth-extension-updated/" rel="nofollow">my next post</a>. The big issue was in fact the memory usage and the high number of temporary object created and garbage collected. So writing directly in a binary array was the only way to keep memory usage low (AFAIK).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart</title>
		<link>http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/comment-page-1/#comment-12795</link>
		<dc:creator>Bart</dc:creator>
		<pubDate>Tue, 01 May 2012 17:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2150#comment-12795</guid>
		<description>&gt; Sadly I didn’t manage to find a way to accelerate
&gt; “bundle.out” ascii file generation yet (involving lot of
&gt; string concatenation and numbers formatting).
Have you tried postponing the concatenation? Just push the data into an array first (these can be pre-formatted substrings, e.g. an array element for each camera, or for each line). When done, just use the join function of the array.
Ex:
var a = [&quot;this&quot;,&quot;is&quot;,&quot;an&quot;,&quot;example&quot;];
var s = a.join(&quot; &quot;); // or a.join(&quot;\n&quot;) for newlines
This should be a lot faster, because it only needs one concat (creating the joined string) instead of creating a newly concatenated string every time, copying the old string data plus the newly added sub string...</description>
		<content:encoded><![CDATA[<p>&gt; Sadly I didn’t manage to find a way to accelerate<br />
&gt; “bundle.out” ascii file generation yet (involving lot of<br />
&gt; string concatenation and numbers formatting).</p>
<p>Have you tried postponing the concatenation? Just push the data into an array first (these can be pre-formatted substrings, e.g. an array element for each camera, or for each line). When done, just use the join function of the array.</p>
<p>Ex:<br />
var a = ["this","is","an","example"];<br />
var s = a.join(&#8221; &#8220;); // or a.join(&#8220;\n&#8221;) for newlines</p>
<p>This should be a lot faster, because it only needs one concat (creating the joined string) instead of creating a newly concatenated string every time, copying the old string data plus the newly added sub string&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WebGL Photosynth extension updated &#187; Visual-Experiments.com</title>
		<link>http://www.visual-experiments.com/2012/03/19/improving-photosynth-extension-performance/comment-page-1/#comment-11764</link>
		<dc:creator>WebGL Photosynth extension updated &#187; Visual-Experiments.com</dc:creator>
		<pubDate>Sun, 25 Mar 2012 21:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.visual-experiments.com/?p=2150#comment-11764</guid>
		<description>[...] my PhotoSynth extension for Google Chrome. I&#8217;ve included all optimization described in my previous post: point cloud loading is 4x faster and ply file generation could be 17x faster in some cases  . As [...]</description>
		<content:encoded><![CDATA[<p>[...] my PhotoSynth extension for Google Chrome. I&#8217;ve included all optimization described in my previous post: point cloud loading is 4x faster and ply file generation could be 17x faster in some cases  . As [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
