<?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: Data.MemoCombinators and You</title>
	<atom:link href="http://www.amateurtopologist.com/blog/2009/11/22/data-memocombinators-and-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amateurtopologist.com/blog/2009/11/22/data-memocombinators-and-you/</link>
	<description>Everything but topology.</description>
	<lastBuildDate>Tue, 13 Dec 2011 18:17:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
	<item>
		<title>By: uberVU - social comments</title>
		<link>http://www.amateurtopologist.com/blog/2009/11/22/data-memocombinators-and-you/comment-page-1/#comment-19</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Mon, 23 Nov 2009 17:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.amateurtopologist.com/?p=446#comment-19</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by ranha: Data.MemoCombinators http://bit.ly/7jm2oE...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post&#8230;</strong></p>
<p>This post was mentioned on Twitter by ranha: Data.MemoCombinators <a href="http://bit.ly/7jm2oE.." rel="nofollow">http://bit.ly/7jm2oE..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Palmer</title>
		<link>http://www.amateurtopologist.com/blog/2009/11/22/data-memocombinators-and-you/comment-page-1/#comment-18</link>
		<dc:creator>Luke Palmer</dc:creator>
		<pubDate>Mon, 23 Nov 2009 17:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.amateurtopologist.com/?p=446#comment-18</guid>
		<description>The problem with MemoTrie is the standard typeclass problem of one instance per type.  So, for example, MemoTrie&#039;s Integer memoizer is the same as integral from MemoCombinators, which is not the most efficient implementation (it just wraps it to a list of bits).  A better implementation would, say, be a 4-bit patricia tree using fast bitshifts.  You could happily write this as a new MemoCombinator of type Memo Integer, but MemoTrie already has a memoizer for Integer so you have to do some newtype madness to convince the type system that it is a different type when really it&#039;s not.

So not only is it hard to memoize types it doesn&#039;t give you (well, you declare new instances, but that risks orphans), it is hard to build new memo tables for types it *does* give you.

Note that I have author&#039;s bias. :-)</description>
		<content:encoded><![CDATA[<p>The problem with MemoTrie is the standard typeclass problem of one instance per type.  So, for example, MemoTrie&#8217;s Integer memoizer is the same as integral from MemoCombinators, which is not the most efficient implementation (it just wraps it to a list of bits).  A better implementation would, say, be a 4-bit patricia tree using fast bitshifts.  You could happily write this as a new MemoCombinator of type Memo Integer, but MemoTrie already has a memoizer for Integer so you have to do some newtype madness to convince the type system that it is a different type when really it&#8217;s not.</p>
<p>So not only is it hard to memoize types it doesn&#8217;t give you (well, you declare new instances, but that risks orphans), it is hard to build new memo tables for types it *does* give you.</p>
<p>Note that I have author&#8217;s bias. <img src="http://www.amateurtopologist.com/blog/wp-includes/images/smilies/icon_smile.gif?9d7bd4" alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 1/5 queries in 0.003 seconds using apc
Object Caching 374/375 objects using apc

Served from: www.amateurtopologist.com @ 2012-02-05 21:59:54 -->
