<?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: One-Line JavaScript Memoization</title>
	<atom:link href="http://osteele.com/archives/2006/04/javascript-memoization/feed" rel="self" type="application/rss+xml" />
	<link>http://osteele.com/archives/2006/04/javascript-memoization</link>
	<description>Languages of the real and artificial.</description>
	<lastBuildDate>Thu, 12 Feb 2009 00:20:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Cheap Airsoft Electric Guns</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-314</link>
		<dc:creator>Cheap Airsoft Electric Guns</dc:creator>
		<pubDate>Sun, 10 Aug 2008 20:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-314</guid>
		<description>Looks like it would work to me. Remember there are more than one way to skin a cat.</description>
		<content:encoded><![CDATA[<p>Looks like it would work to me. Remember there are more than one way to skin a cat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: playBunny</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-313</link>
		<dc:creator>playBunny</dc:creator>
		<pubDate>Sun, 20 Jul 2008 10:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-313</guid>
		<description>Why create a closure when you can just create a plain old function? It looks as simple as it is. No need to complicate things by calling the new function either.

Bezier.prototype.getLength = function() {
  var length = ... // expensive computation
  this.getLength = new Function (&quot;return &quot; + length);
  return length;
  }

</description>
		<content:encoded><![CDATA[<p>Why create a closure when you can just create a plain old function? It looks as simple as it is. No need to complicate things by calling the new function either.</p>
<p>Bezier.prototype.getLength = function() {<br />
  var length = &#8230; // expensive computation<br />
  this.getLength = new Function (&#8220;return &#8221; + length);<br />
  return length;<br />
  }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timed Memoization</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-312</link>
		<dc:creator>Timed Memoization</dc:creator>
		<pubDate>Sun, 06 Jan 2008 21:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-312</guid>
		<description>[...] One-Line JavaScript Memoization by Oliver Steele [...]</description>
		<content:encoded><![CDATA[<p>[...] One-Line JavaScript Memoization by Oliver Steele [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unintelligible » One line Ruby memoization</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-311</link>
		<dc:creator>Unintelligible » One line Ruby memoization</dc:creator>
		<pubDate>Thu, 16 Aug 2007 14:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-311</guid>
		<description>[...] Memoization is a functional programming technique used to cache the result of expensive method calls for later re-use; this allows us to avoid repeatedly performing an expensive calculation when the result has already been calculated once. Today I stumbled accross an interesting method of achieving memoization in Javascript for nullary functions (i.e. functions taking no arguments); I was curious to see if the same could be achieved with Ruby. [...]</description>
		<content:encoded><![CDATA[<p>[...] Memoization is a functional programming technique used to cache the result of expensive method calls for later re-use; this allows us to avoid repeatedly performing an expensive calculation when the result has already been calculated once. Today I stumbled accross an interesting method of achieving memoization in Javascript for nullary functions (i.e. functions taking no arguments); I was curious to see if the same could be achieved with Ruby. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-310</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Wed, 15 Aug 2007 16:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-310</guid>
		<description>Atany: thanks for the catch; &#039;tis done.</description>
		<content:encoded><![CDATA[<p>Atany: thanks for the catch; &#8217;tis done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links of the day « Geeks in the West Country</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-309</link>
		<dc:creator>Links of the day « Geeks in the West Country</dc:creator>
		<pubDate>Mon, 21 May 2007 10:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-309</guid>
		<description>[...] One line memoization in javascript [...]</description>
		<content:encoded><![CDATA[<p>[...] One line memoization in javascript [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily misery » Blog Archive » Links for 5.16.2007 through 5.</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-308</link>
		<dc:creator>Daily misery » Blog Archive » Links for 5.16.2007 through 5.</dc:creator>
		<pubDate>Fri, 18 May 2007 02:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-308</guid>
		<description>[...] One-Line JavaScript Memoization at Oliver Steele [...]</description>
		<content:encoded><![CDATA[<p>[...] One-Line JavaScript Memoization at Oliver Steele [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atany</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-307</link>
		<dc:creator>atany</dc:creator>
		<pubDate>Fri, 18 May 2007 00:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-307</guid>
		<description>Great article!

Could you please correct shortened memoizeConstantMethod to define local &#039;value&#039; variable :)

The current version does not work correctly when called more then once for different methods.</description>
		<content:encoded><![CDATA[<p>Great article!</p>
<p>Could you please correct shortened memoizeConstantMethod to define local &#8216;value&#8217; variable <img src='http://osteele.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The current version does not work correctly when called more then once for different methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas Wenneker</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-306</link>
		<dc:creator>Bas Wenneker</dc:creator>
		<pubDate>Thu, 17 May 2007 19:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-306</guid>
		<description>Very cool technique, I wrote something like this in java some time ago, never thought about a javascript implementation. Great content you have on your blog! Thanks</description>
		<content:encoded><![CDATA[<p>Very cool technique, I wrote something like this in java some time ago, never thought about a javascript implementation. Great content you have on your blog! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Johnson</title>
		<link>http://osteele.com/archives/2006/04/javascript-memoization/comment-page-1#comment-305</link>
		<dc:creator>Ryan Johnson</dc:creator>
		<pubDate>Thu, 17 May 2007 19:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2006/04/16/one-line-javascript-memoization#comment-305</guid>
		<description>Great stuff! I think you would enjoy this as well:

http://www.cs.cityu.edu.hk/~hwchun/31337/blog/2005/09/y-combinator-in-javascript.php

This strikes me as something I might actually use in a number of practical cases though. Thanks for going into such detail, great explanations.</description>
		<content:encoded><![CDATA[<p>Great stuff! I think you would enjoy this as well:</p>
<p><a href="http://www.cs.cityu.edu.hk/~hwchun/31337/blog/2005/09/y-combinator-in-javascript.php">http://www.cs.cityu.edu.hk/~hwchun/31337/blog/2005/09/y-combinator-in-javascript.php</a></p>
<p>This strikes me as something I might actually use in a number of practical cases though. Thanks for going into such detail, great explanations.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

