<?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: On Optimisations</title>
	<atom:link href="http://www.vectorstorm.org/2009/06/21/on-optimisations/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vectorstorm.org/2009/06/21/on-optimisations/</link>
	<description>Creating games, one brightly glowing line at a time.</description>
	<lastBuildDate>Mon, 26 Jul 2010 12:30:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: trevor</title>
		<link>http://www.vectorstorm.org/2009/06/21/on-optimisations/comment-page-1/#comment-924</link>
		<dc:creator>trevor</dc:creator>
		<pubDate>Tue, 23 Jun 2009 05:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.vectorstorm.org/?p=580#comment-924</guid>
		<description>Yep, I totally agree with that forum post.  The Introversion guys tend to know what they&#039;re talking about.  Except when it comes to their devotion toward Multiwinia, which has always sort of baffled me.</description>
		<content:encoded><![CDATA[<p>Yep, I totally agree with that forum post.  The Introversion guys tend to know what they&#8217;re talking about.  Except when it comes to their devotion toward Multiwinia, which has always sort of baffled me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.vectorstorm.org/2009/06/21/on-optimisations/comment-page-1/#comment-923</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 23 Jun 2009 01:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.vectorstorm.org/?p=580#comment-923</guid>
		<description>here&#039;s something you may find interesting on optimization, and fuel your feelings of justification on the matter:

http://forums.introversion.co.uk/introversion/viewtopic.php?t=2003</description>
		<content:encoded><![CDATA[<p>here&#8217;s something you may find interesting on optimization, and fuel your feelings of justification on the matter:</p>
<p><a href="http://forums.introversion.co.uk/introversion/viewtopic.php?t=2003" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/forums.introversion.co.uk/introversion/viewtopic.php?t=2003&amp;referer=');">http://forums.introversion.co.uk/introversion/viewtopic.php?t=2003</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trevor</title>
		<link>http://www.vectorstorm.org/2009/06/21/on-optimisations/comment-page-1/#comment-922</link>
		<dc:creator>trevor</dc:creator>
		<pubDate>Mon, 22 Jun 2009 00:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.vectorstorm.org/?p=580#comment-922</guid>
		<description>All good points!  (And thank you for the nice comment on my memory code!)

My point wasn&#039;t that you should ignore performance until after having finished your code;  rather, I was suggesting that once you&#039;ve written a block of code, it&#039;s probably not worth going back and trying to improve its speed until (a) your program is complete enough that you&#039;re certain that code will actually be in the final version and (b) you&#039;ve done profiling tests and verified that the code actually is slow enough that it&#039;s worth optimising.

Which I think is more or less what you&#039;re saying as well.  :)</description>
		<content:encoded><![CDATA[<p>All good points!  (And thank you for the nice comment on my memory code!)</p>
<p>My point wasn&#8217;t that you should ignore performance until after having finished your code;  rather, I was suggesting that once you&#8217;ve written a block of code, it&#8217;s probably not worth going back and trying to improve its speed until (a) your program is complete enough that you&#8217;re certain that code will actually be in the final version and (b) you&#8217;ve done profiling tests and verified that the code actually is slow enough that it&#8217;s worth optimising.</p>
<p>Which I think is more or less what you&#8217;re saying as well.  <img src='http://www.vectorstorm.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Haraj</title>
		<link>http://www.vectorstorm.org/2009/06/21/on-optimisations/comment-page-1/#comment-921</link>
		<dc:creator>Dan Haraj</dc:creator>
		<pubDate>Sun, 21 Jun 2009 20:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.vectorstorm.org/?p=580#comment-921</guid>
		<description>While I know that premature optimization is evil, and you shouldn&#039;t optimize without measuring, I think it is still very important to write code in the first place conscious of performance. I think that a lot of the optimizations you can do in C++ are just idiomatic, or should be idiomatic. Things like copying memory should be done the way the hardware wants it done.

Like copying resources from system to video memory. DX10, for example, finishes a copy at the start of the second frame after the copy command is issued. So a piece of software should be aware of that and try to access resources at the most optimal times. Otherwise, it will block needlessly. There are other things, like being cache aware. You could write an inner loop naively, measure later, and optimize later, or you could keep in mind cache effects and make sure you&#039;re iterating through elements in a sane manner when you write it :)

But things like your memory code, which is very well written might I add, definitely could only be caught with proper measurement and optimization.</description>
		<content:encoded><![CDATA[<p>While I know that premature optimization is evil, and you shouldn&#8217;t optimize without measuring, I think it is still very important to write code in the first place conscious of performance. I think that a lot of the optimizations you can do in C++ are just idiomatic, or should be idiomatic. Things like copying memory should be done the way the hardware wants it done.</p>
<p>Like copying resources from system to video memory. DX10, for example, finishes a copy at the start of the second frame after the copy command is issued. So a piece of software should be aware of that and try to access resources at the most optimal times. Otherwise, it will block needlessly. There are other things, like being cache aware. You could write an inner loop naively, measure later, and optimize later, or you could keep in mind cache effects and make sure you&#8217;re iterating through elements in a sane manner when you write it <img src='http://www.vectorstorm.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But things like your memory code, which is very well written might I add, definitely could only be caught with proper measurement and optimization.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
