<?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: &#8220;Jnuchess&#8221; Plays and Wins</title>
	<atom:link href="http://www.forthgo.com/blog/2005/05/23/jnuchess-plays-and-wins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.forthgo.com/blog/2005/05/23/jnuchess-plays-and-wins/</link>
	<description>Code and Recreations of Xan Gregg</description>
	<lastBuildDate>Sat, 17 Jul 2010 15:38:11 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: xan</title>
		<link>http://www.forthgo.com/blog/2005/05/23/jnuchess-plays-and-wins/comment-page-1/#comment-10</link>
		<dc:creator>xan</dc:creator>
		<pubDate>Tue, 24 May 2005 15:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.forthgo.com/blog/2005/05/22/jnuchess-plays-and-wins/#comment-10</guid>
		<description>Thanks Anli. I&#039;m still just using a transliteration of the C code, which manages the hash table &quot;manually&quot;. When I get to the point to Java-izing the code more, I&#039;ll check out the Trove work.

The hash table maps board positions to evaluation scores, and there are several interesting problems besides the mechanics of the table. For example, how to most efficiently represent a chess position, and whether some positions are more cache-worthy than others.

But first I need to get the straight port done...</description>
		<content:encoded><![CDATA[<p>Thanks Anli. I&#8217;m still just using a transliteration of the C code, which manages the hash table &#8220;manually&#8221;. When I get to the point to Java-izing the code more, I&#8217;ll check out the Trove work.</p>
<p>The hash table maps board positions to evaluation scores, and there are several interesting problems besides the mechanics of the table. For example, how to most efficiently represent a chess position, and whether some positions are more cache-worthy than others.</p>
<p>But first I need to get the straight port done&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anli</title>
		<link>http://www.forthgo.com/blog/2005/05/23/jnuchess-plays-and-wins/comment-page-1/#comment-9</link>
		<dc:creator>Anli</dc:creator>
		<pubDate>Tue, 24 May 2005 13:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.forthgo.com/blog/2005/05/22/jnuchess-plays-and-wins/#comment-9</guid>
		<description>I&#039;m curious about the hash table management problem.  Are you using 1.4&#039;s HashMap-s?  They rehash the returned hashCode-s.  I don&#039;t know whether that&#039;s overkill if your hashCodes are already well distributed.

Another alternative might be to use Trove&#039;s hashMaps: he uses another hashing algorithm (Knuth&#039;s prime-number sized arrays with overlapping lookups) and also maps of ints etc.  It&#039;s LGPL code so the execs don&#039;t want to hear about it... but you don&#039;t have that constraint.</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious about the hash table management problem.  Are you using 1.4&#8217;s HashMap-s?  They rehash the returned hashCode-s.  I don&#8217;t know whether that&#8217;s overkill if your hashCodes are already well distributed.</p>
<p>Another alternative might be to use Trove&#8217;s hashMaps: he uses another hashing algorithm (Knuth&#8217;s prime-number sized arrays with overlapping lookups) and also maps of ints etc.  It&#8217;s LGPL code so the execs don&#8217;t want to hear about it&#8230; but you don&#8217;t have that constraint.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
