<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: URL.hashCode() Considered Harmful</title>
	<atom:link href="http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2012 01:02:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: sandrar</title>
		<link>http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/#comment-634</link>
		<dc:creator><![CDATA[sandrar]]></dc:creator>
		<pubDate>Thu, 10 Sep 2009 19:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=64#comment-634</guid>
		<description><![CDATA[Hi! I was surfing and found your blog post... nice! I love your blog.  :) Cheers! Sandra. R.]]></description>
		<content:encoded><![CDATA[<p>Hi! I was surfing and found your blog post&#8230; nice! I love your blog.  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers! Sandra. R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Guillemot</title>
		<link>http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/#comment-478</link>
		<dc:creator><![CDATA[Marc Guillemot]]></dc:creator>
		<pubDate>Fri, 25 Apr 2008 07:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=64#comment-478</guid>
		<description><![CDATA[I don&#039;t think that we really need to improve this: the gain would be minimal and we have surely other areas that would be far more interesting to optimize,]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t think that we really need to improve this: the gain would be minimal and we have surely other areas that would be far more interesting to optimize,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Gredler</title>
		<link>http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/#comment-477</link>
		<dc:creator><![CDATA[Daniel Gredler]]></dc:creator>
		<pubDate>Thu, 24 Apr 2008 20:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=64#comment-477</guid>
		<description><![CDATA[Robert: Interesting, I&#039;ll have to look for that video.

Marc: We can write our own getKey(URL) which does the same thing as toString() with a StringBuilder instead of a StringBuffer. As far as I can tell, however, customizing the handler requires either the use of one of the more involved URL constructors, or a JVM-global URLStreamHandlerFactory change -- which I&#039;m not sure a third party library should be doing. I&#039;m also unsure how much benefit the hashCode caching does (once you avoid doing DNS lookups!).]]></description>
		<content:encoded><![CDATA[<p>Robert: Interesting, I&#8217;ll have to look for that video.</p>
<p>Marc: We can write our own getKey(URL) which does the same thing as toString() with a StringBuilder instead of a StringBuffer. As far as I can tell, however, customizing the handler requires either the use of one of the more involved URL constructors, or a JVM-global URLStreamHandlerFactory change &#8212; which I&#8217;m not sure a third party library should be doing. I&#8217;m also unsure how much benefit the hashCode caching does (once you avoid doing DNS lookups!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoffrey Wiseman</title>
		<link>http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/#comment-476</link>
		<dc:creator><![CDATA[Geoffrey Wiseman]]></dc:creator>
		<pubDate>Thu, 24 Apr 2008 19:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=64#comment-476</guid>
		<description><![CDATA[Yes, many people suggest sticking to URI instead of URL for that reason among others.]]></description>
		<content:encoded><![CDATA[<p>Yes, many people suggest sticking to URI instead of URL for that reason among others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Guillemot</title>
		<link>http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/#comment-475</link>
		<dc:creator><![CDATA[Marc Guillemot]]></dc:creator>
		<pubDate>Thu, 24 Apr 2008 15:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=64#comment-475</guid>
		<description><![CDATA[Cool!

The most efficient way would be probably to provide our own URLStreamHandler to allow a custom implementation of hashCode() which result value is cached by URL. Indeed the result of URL.toString() is not cached (and uses a StringBuffer rather than a StringBuilder).]]></description>
		<content:encoded><![CDATA[<p>Cool!</p>
<p>The most efficient way would be probably to provide our own URLStreamHandler to allow a custom implementation of hashCode() which result value is cached by URL. Indeed the result of URL.toString() is not cached (and uses a StringBuffer rather than a StringBuilder).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert O'Connor</title>
		<link>http://daniel.gredler.net/2008/04/24/urlhashcode-considered-harmful/#comment-474</link>
		<dc:creator><![CDATA[Robert O'Connor]]></dc:creator>
		<pubDate>Thu, 24 Apr 2008 08:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://gredler.wordpress.com/?p=64#comment-474</guid>
		<description><![CDATA[Josh Bloch talked about this as one of the java puzzlers videos -- o don&#039;t remember the exact one either search youtube or google video (it&#039;s one of the google tech talks)]]></description>
		<content:encoded><![CDATA[<p>Josh Bloch talked about this as one of the java puzzlers videos &#8212; o don&#8217;t remember the exact one either search youtube or google video (it&#8217;s one of the google tech talks)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

