<?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: Exceptions and various compilation option speeds</title>
	<atom:link href="http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/</link>
	<description>game dev blog</description>
	<lastBuildDate>Fri, 06 Jan 2012 23:00:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Rene Dudfield</title>
		<link>http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/comment-page-1/#comment-22303</link>
		<dc:creator>Rene Dudfield</dc:creator>
		<pubDate>Fri, 08 Jan 2010 13:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/?p=258#comment-22303</guid>
		<description>ah ok.  Maybe it only makes a difference if you have a lot of classes defined.  The main benefit of fno-rtti is supposed to be less memory usage.

That&#039;s VERY cool to get within that close of C :)</description>
		<content:encoded><![CDATA[<p>ah ok.  Maybe it only makes a difference if you have a lot of classes defined.  The main benefit of fno-rtti is supposed to be less memory usage.</p>
<p>That&#8217;s VERY cool to get within that close of C <img src='http://www.philhassey.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philhassey</title>
		<link>http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/comment-page-1/#comment-22288</link>
		<dc:creator>philhassey</dc:creator>
		<pubDate>Thu, 07 Jan 2010 21:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/?p=258#comment-22288</guid>
		<description>A pure-C implementation does 75ms vs. 115ms.  Which seems pretty close considering the extra hoops tinypyC++ does to get in ref counting and other syntax niceties.</description>
		<content:encoded><![CDATA[<p>A pure-C implementation does 75ms vs. 115ms.  Which seems pretty close considering the extra hoops tinypyC++ does to get in ref counting and other syntax niceties.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philhassey</title>
		<link>http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/comment-page-1/#comment-22287</link>
		<dc:creator>philhassey</dc:creator>
		<pubDate>Thu, 07 Jan 2010 20:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/?p=258#comment-22287</guid>
		<description>-fno-rtti and -ffast-math didn&#039;t see to make a discernible difference.

I should do a comparison to a pure-C implementation, but I don&#039;t really expect to be able to make it much faster than it is.</description>
		<content:encoded><![CDATA[<p>-fno-rtti and -ffast-math didn&#8217;t see to make a discernible difference.</p>
<p>I should do a comparison to a pure-C implementation, but I don&#8217;t really expect to be able to make it much faster than it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene Dudfield</title>
		<link>http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/comment-page-1/#comment-22286</link>
		<dc:creator>Rene Dudfield</dc:creator>
		<pubDate>Thu, 07 Jan 2010 17:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/?p=258#comment-22286</guid>
		<description>hey ya,

Another speed up used to be disabling rtti with -fno-rtti  Also try -ffast-math if you&#039;re not using it already.

I guess one conclusion from your results could be memory management is important for speed.  Since removing that one &#039;new&#039; gave the best speedup.  Removing allocations at run time often gives nice speedups :)

cya.</description>
		<content:encoded><![CDATA[<p>hey ya,</p>
<p>Another speed up used to be disabling rtti with -fno-rtti  Also try -ffast-math if you&#8217;re not using it already.</p>
<p>I guess one conclusion from your results could be memory management is important for speed.  Since removing that one &#8216;new&#8217; gave the best speedup.  Removing allocations at run time often gives nice speedups <img src='http://www.philhassey.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>cya.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philhassey</title>
		<link>http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/comment-page-1/#comment-22285</link>
		<dc:creator>philhassey</dc:creator>
		<pubDate>Thu, 07 Jan 2010 16:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/?p=258#comment-22285</guid>
		<description>A few of us chatted about this in #LD yesterday, and I tried a few more things, some of my observations there could just be &#039;rounding&#039; errors, actually.

But the bottom line is, removing exceptions gives real gains when you compile with -O3.  ~20% gain is the average of the two cases.</description>
		<content:encoded><![CDATA[<p>A few of us chatted about this in #LD yesterday, and I tried a few more things, some of my observations there could just be &#8217;rounding&#8217; errors, actually.</p>
<p>But the bottom line is, removing exceptions gives real gains when you compile with -O3.  ~20% gain is the average of the two cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sol_HSA</title>
		<link>http://www.philhassey.com/blog/2010/01/06/exceptions-and-various-compilation-option-speeds/comment-page-1/#comment-22284</link>
		<dc:creator>Sol_HSA</dc:creator>
		<pubDate>Thu, 07 Jan 2010 11:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/?p=258#comment-22284</guid>
		<description>I don&#039;t quite follow your conclusions.. based on your data, dropping the exceptions speeds things up. Or are you referring to the speed of the debug builds? Who cares? =)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t quite follow your conclusions.. based on your data, dropping the exceptions speeds things up. Or are you referring to the speed of the debug builds? Who cares? =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

