<?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: Weak References</title>
	<atom:link href="http://jacksondunstan.com/articles/346/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com/articles/346</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:17:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jackson</title>
		<link>http://jacksondunstan.com/articles/346/comment-page-1#comment-86</link>
		<dc:creator>jackson</dc:creator>
		<pubDate>Thu, 01 Oct 2009 00:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=346#comment-86</guid>
		<description>Thanks for pointing this out. I&#039;ve also heard that weak dictionaries don&#039;t do well when the keys are Functions. I agree about the memory leak issues. It would sure be nice to have more control over the GC, a native weak reference class, and fewer bugs in the existing weak reference support.</description>
		<content:encoded><![CDATA[<p>Thanks for pointing this out. I&#8217;ve also heard that weak dictionaries don&#8217;t do well when the keys are Functions. I agree about the memory leak issues. It would sure be nice to have more control over the GC, a native weak reference class, and fewer bugs in the existing weak reference support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sev</title>
		<link>http://jacksondunstan.com/articles/346/comment-page-1#comment-85</link>
		<dc:creator>Sev</dc:creator>
		<pubDate>Thu, 01 Oct 2009 00:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://jacksondunstan.com/?p=346#comment-85</guid>
		<description>The only thing to be aware of when dealing with weak references within Flash is that the object still &quot;lives&quot; while in memory, even when its marked for GC. This usually is no big deal (GC will clean when it thinks it&#039;s time to do so), except for weak listeners. So these dead objects would still receive events – something that gave me a headache recently. On a side note: it&#039;s pretty funny to see you write the exactly same class I&#039;ve written 1w ago only (well, apart from the naming of course). I&#039;d love to see weak references built into the language by the way... there&#039;s just too much potential for memory leaks anywhere.</description>
		<content:encoded><![CDATA[<p>The only thing to be aware of when dealing with weak references within Flash is that the object still &#8220;lives&#8221; while in memory, even when its marked for GC. This usually is no big deal (GC will clean when it thinks it&#8217;s time to do so), except for weak listeners. So these dead objects would still receive events – something that gave me a headache recently. On a side note: it&#8217;s pretty funny to see you write the exactly same class I&#8217;ve written 1w ago only (well, apart from the naming of course). I&#8217;d love to see weak references built into the language by the way&#8230; there&#8217;s just too much potential for memory leaks anywhere.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
