<?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: Two Kinds of Casts</title>
	<atom:link href="http://jacksondunstan.com/articles/134/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com/articles/134</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Mon, 14 May 2012 17:02:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/134/comment-page-1#comment-89</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Fri, 02 Oct 2009 15:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=134#comment-89</guid>
		<description>Wow, that&#039;s a pretty huge boost! Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Wow, that&#8217;s a pretty huge boost! Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonnie</title>
		<link>http://jacksondunstan.com/articles/134/comment-page-1#comment-87</link>
		<dc:creator>Jonnie</dc:creator>
		<pubDate>Fri, 02 Oct 2009 04:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=134#comment-87</guid>
		<description>In a speed comparison, (o as Point) is 3x faster than Point(o). And, in your example, if you use: var p:Point = o as Point; it&#039;ll be 4.5x faster.</description>
		<content:encoded><![CDATA[<p>In a speed comparison, (o as Point) is 3x faster than Point(o). And, in your example, if you use: var p:Point = o as Point; it&#8217;ll be 4.5x faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/134/comment-page-1#comment-41</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Wed, 16 Sep 2009 23:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=134#comment-41</guid>
		<description>Yep, the key seems to be knowing which one you want and when. Most of the time you know that the cast is OK, but in those cases where you don&#039;t you should use the appropriate cast. People who like exceptions will likely prefer &lt;tt&gt;Point(o)&lt;/tt&gt;, people who don&#039;t will likely prefer &lt;tt&gt;o as Point&lt;/tt&gt;. I&#039;m glad AS3 give you options.</description>
		<content:encoded><![CDATA[<p>Yep, the key seems to be knowing which one you want and when. Most of the time you know that the cast is OK, but in those cases where you don&#8217;t you should use the appropriate cast. People who like exceptions will likely prefer <tt>Point(o)</tt>, people who don&#8217;t will likely prefer <tt>o as Point</tt>. I&#8217;m glad AS3 give you options.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Penner</title>
		<link>http://jacksondunstan.com/articles/134/comment-page-1#comment-38</link>
		<dc:creator>Robert Penner</dc:creator>
		<pubDate>Wed, 16 Sep 2009 23:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=134#comment-38</guid>
		<description>Point(o) will throw an exception if the cast fails, whereas  o as Point will evaluate to null and keep on trucking.</description>
		<content:encoded><![CDATA[<p>Point(o) will throw an exception if the cast fails, whereas  o as Point will evaluate to null and keep on trucking.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

