<?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: Timed Memoization</title>
	<atom:link href="http://blog.stevenlevithan.com/archives/timed-memoization/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.stevenlevithan.com/archives/timed-memoization</link>
	<description>A JavaScript and regular expression centric blog</description>
	<lastBuildDate>Sat, 13 Mar 2010 15:18:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sam</title>
		<link>http://blog.stevenlevithan.com/archives/timed-memoization/comment-page-1#comment-24957</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Fri, 18 Jul 2008 13:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/timed-memoization#comment-24957</guid>
		<description>great function .  took it  to my website</description>
		<content:encoded><![CDATA[<p>great function .  took it  to my website</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris Kowal</title>
		<link>http://blog.stevenlevithan.com/archives/timed-memoization/comment-page-1#comment-16136</link>
		<dc:creator>Kris Kowal</dc:creator>
		<pubDate>Mon, 17 Mar 2008 01:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/timed-memoization#comment-16136</guid>
		<description>@Dean sorry for the delay.  Steve just let me know I missed your message.  I&#039;m using Chiron for a variety of projects including a browser-based MUD-like game, a remote Python shell, a log aggregation service, and some other data-visualization stuff.  I&#039;ve been promoting it as much as I can (the http://modulesjs.com website, presented at Barcamp LA a couple weeks ago http://cixar.com/barcamp for slides); it&#039;s designed to be a platform for a &quot;batteries included&quot; JavaScript library.  If it looks awesome, it&#039;s partially because I read your base2 code to help inform its design, although I would still like to integrate more of your code.

In recent news, I&#039;m using memoize, and my Dict-like Cookie type in tandem to do cookie-based caching on a function.

include(&#039;cookie.js&#039;);
include(&#039;cache.js&#039;);
this.fib = memoize(cookie, fib);</description>
		<content:encoded><![CDATA[<p>@Dean sorry for the delay.  Steve just let me know I missed your message.  I&#8217;m using Chiron for a variety of projects including a browser-based MUD-like game, a remote Python shell, a log aggregation service, and some other data-visualization stuff.  I&#8217;ve been promoting it as much as I can (the <a href="http://modulesjs.com" rel="nofollow">http://modulesjs.com</a> website, presented at Barcamp LA a couple weeks ago <a href="http://cixar.com/barcamp" rel="nofollow">http://cixar.com/barcamp</a> for slides); it&#8217;s designed to be a platform for a &#8220;batteries included&#8221; JavaScript library.  If it looks awesome, it&#8217;s partially because I read your base2 code to help inform its design, although I would still like to integrate more of your code.</p>
<p>In recent news, I&#8217;m using memoize, and my Dict-like Cookie type in tandem to do cookie-based caching on a function.</p>
<p>include(&#8216;cookie.js&#8217;);<br />
include(&#8216;cache.js&#8217;);<br />
this.fib = memoize(cookie, fib);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.stevenlevithan.com/archives/timed-memoization/comment-page-1#comment-12369</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 22 Jan 2008 17:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/timed-memoization#comment-12369</guid>
		<description>Dean, you&#039;re of course very welcome to do so.</description>
		<content:encoded><![CDATA[<p>Dean, you&#8217;re of course very welcome to do so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean Edwards</title>
		<link>http://blog.stevenlevithan.com/archives/timed-memoization/comment-page-1#comment-12274</link>
		<dc:creator>Dean Edwards</dc:creator>
		<pubDate>Mon, 21 Jan 2008 00:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/timed-memoization#comment-12274</guid>
		<description>@Steve - Fair enough. I thought you had some clever implementation of getElementsByClassName() in mind.

It&#039;s still a cool function though. I might steal it and include it in base2. ;-)</description>
		<content:encoded><![CDATA[<p>@Steve &#8211; Fair enough. I thought you had some clever implementation of getElementsByClassName() in mind.</p>
<p>It&#8217;s still a cool function though. I might steal it and include it in base2. <img src='http://blog.stevenlevithan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.stevenlevithan.com/archives/timed-memoization/comment-page-1#comment-12264</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sun, 20 Jan 2008 20:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/timed-memoization#comment-12264</guid>
		<description>Dean, I agree that it could only improve &lt;code&gt;getElementsByClassName&lt;/code&gt; functions in limited circumstances. The case I was specifically thinking of when I wrote that was code that invokes &lt;code&gt;getElementsByClassName&lt;/code&gt; and runs &lt;code&gt;onmouseover&lt;/code&gt; for a DOM node, thereby potentially being triggered thousands of times over a short amount of time. Memoization (timed or otherwise) would probably never be a good idea as a general purpose alteration for such functions, but depending on the nature of one&#039;s application they might decide the benefits outweigh the risks. That said, the real reason I used that example was that I couldn&#039;t think of a better one. ;-) I didn&#039;t originally write this implementation for the ability to garbage collect cached values after a while, but that seemed like a potentially interesting extension that was easy to add.</description>
		<content:encoded><![CDATA[<p>Dean, I agree that it could only improve <code>getElementsByClassName</code> functions in limited circumstances. The case I was specifically thinking of when I wrote that was code that invokes <code>getElementsByClassName</code> and runs <code>onmouseover</code> for a DOM node, thereby potentially being triggered thousands of times over a short amount of time. Memoization (timed or otherwise) would probably never be a good idea as a general purpose alteration for such functions, but depending on the nature of one&#8217;s application they might decide the benefits outweigh the risks. That said, the real reason I used that example was that I couldn&#8217;t think of a better one. <img src='http://blog.stevenlevithan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I didn&#8217;t originally write this implementation for the ability to garbage collect cached values after a while, but that seemed like a potentially interesting extension that was easy to add.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
