<?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: clean up your garbage</title>
	<atom:link href="http://olehfilipchuk.com/2009/03/15/clean-up-your-garbage/feed/" rel="self" type="application/rss+xml" />
	<link>http://olehfilipchuk.com/2009/03/15/clean-up-your-garbage/</link>
	<description>another technology blog</description>
	<lastBuildDate>Tue, 18 Aug 2009 00:38:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Oleg</title>
		<link>http://olehfilipchuk.com/2009/03/15/clean-up-your-garbage/#comment-5</link>
		<dc:creator>Oleg</dc:creator>
		<pubDate>Mon, 18 May 2009 21:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://olegfilipchuk.com/?p=19#comment-5</guid>
		<description>I totally agree, that this is a really long list but it&#039;s the best option we have so far.
Regarding Binding - I&#039;m not a big fan of in-line binding so I&#039;d rather use events or BindingUtils with appropriate disposal like

[sourcecode language=&#039;jscript&#039;]
private var watcher : ChangeWatcher = BindingUtils.bindSetter(....);
//.... later in dispose method
public function dispose() : void
{
   //some other disposal...
   //....
   if ( watcher &amp;&amp; watcher.isWatching() )
   {
       watcher.unwatch();
   }
   watcher = null;
}
[/sourcecode]</description>
		<content:encoded><![CDATA[<p>I totally agree, that this is a really long list but it&#8217;s the best option we have so far.<br />
Regarding Binding &#8211; I&#8217;m not a big fan of in-line binding so I&#8217;d rather use events or BindingUtils with appropriate disposal like</p>
<p>[sourcecode language='jscript']<br />
private var watcher : ChangeWatcher = BindingUtils.bindSetter(&#8230;.);<br />
//&#8230;. later in dispose method<br />
public function dispose() : void<br />
{<br />
   //some other disposal&#8230;<br />
   //&#8230;.<br />
   if ( watcher &#038;&#038; watcher.isWatching() )<br />
   {<br />
       watcher.unwatch();<br />
   }<br />
   watcher = null;<br />
}<br />
[/sourcecode]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Владимир</title>
		<link>http://olehfilipchuk.com/2009/03/15/clean-up-your-garbage/#comment-4</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Mon, 13 Apr 2009 16:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://olegfilipchuk.com/?p=19#comment-4</guid>
		<description>Примерно 30-40% - это стандартные компоненты. Но цена нормальная, т.к. в крупных приложениях проблема очистки памяти - одна из трудоемких (как не печально).
Однако, хочу заметить, что в компонентах могут быть и элементы уровня  Sprite. Их так же придется помещать в &quot;обертку&quot;.
Гораздо более интересный вопрос  - что нужно вычищать в самом методе dispose(). Список получился не плохой -

#              //remove all event listeners here
#              //stop all effects
#              //clean up model

а как насчет программного биндинга (BindingUtils.bindSetter(...))?</description>
		<content:encoded><![CDATA[<p>Примерно 30-40% &#8211; это стандартные компоненты. Но цена нормальная, т.к. в крупных приложениях проблема очистки памяти &#8211; одна из трудоемких (как не печально).<br />
Однако, хочу заметить, что в компонентах могут быть и элементы уровня  Sprite. Их так же придется помещать в &#8220;обертку&#8221;.<br />
Гораздо более интересный вопрос  &#8211; что нужно вычищать в самом методе dispose(). Список получился не плохой -</p>
<p>#              //remove all event listeners here<br />
#              //stop all effects<br />
#              //clean up model</p>
<p>а как насчет программного биндинга (BindingUtils.bindSetter(&#8230;))?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg</title>
		<link>http://olehfilipchuk.com/2009/03/15/clean-up-your-garbage/#comment-3</link>
		<dc:creator>Oleg</dc:creator>
		<pubDate>Mon, 13 Apr 2009 13:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://olegfilipchuk.com/?p=19#comment-3</guid>
		<description>I agree that this isn&#039;t an ideal solution, but how often you are using standard components without extending it?</description>
		<content:encoded><![CDATA[<p>I agree that this isn&#8217;t an ideal solution, but how often you are using standard components without extending it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Владимир</title>
		<link>http://olehfilipchuk.com/2009/03/15/clean-up-your-garbage/#comment-2</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Mon, 13 Apr 2009 09:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://olegfilipchuk.com/?p=19#comment-2</guid>
		<description>Решение хорошее, но есть проблема - таким образом придется расширять все компоненты.</description>
		<content:encoded><![CDATA[<p>Решение хорошее, но есть проблема &#8211; таким образом придется расширять все компоненты.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
