<?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: Sorting Used in Anger</title>
	<atom:link href="http://www.win-vector.com/blog/2008/04/sorting-in-anger/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.win-vector.com/blog/2008/04/sorting-in-anger/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sorting-in-anger</link>
	<description>The Applied Theorist&#039;s Point of View</description>
	<lastBuildDate>Thu, 15 Jul 2010 00:13:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jmount</title>
		<link>http://www.win-vector.com/blog/2008/04/sorting-in-anger/comment-page-1/#comment-1883</link>
		<dc:creator>jmount</dc:creator>
		<pubDate>Wed, 17 Feb 2010 01:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.win-vector.com/blog/?p=13#comment-1883</guid>
		<description>This sort of problem with sorting seems like it has always been with us. For example: Bentley quoting Knuth: &quot;in section 6.2.1 of his &#039;Sorting and Searching,&#039; Knuth points out while the first binary search was published in 1946, the first published binary search without bugs did not appear until 1962&quot; (Programming Pearls 2nd edition, &quot;Writing Correct Programs&quot;, section 4.1, p. 34).

See also: 	Nearly All Binary Searches and Mergesorts are Broken (2006)  http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html</description>
		<content:encoded><![CDATA[<p>This sort of problem with sorting seems like it has always been with us. For example: Bentley quoting Knuth: &#8220;in section 6.2.1 of his &#8216;Sorting and Searching,&#8217; Knuth points out while the first binary search was published in 1946, the first published binary search without bugs did not appear until 1962&#8243; (Programming Pearls 2nd edition, &#8220;Writing Correct Programs&#8221;, section 4.1, p. 34).</p>
<p>See also: 	Nearly All Binary Searches and Mergesorts are Broken (2006)  <a href="http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html" rel="nofollow">http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.win-vector.com/blog/2008/04/sorting-in-anger/comment-page-1/#comment-8</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 13 May 2009 22:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.win-vector.com/blog/?p=13#comment-8</guid>
		<description>Finally got around to going through Bentley&#039;s masterpiece Programming Pearls Second Edition.  The tone is definitely different than that in Beautiful Code Bentley calls out bad performance and bugs much earlier (and expresses an aversion to reading others bug-filled &quot;corrections&quot;).  Column 11 of Programing Pearls presents 4 quick sorts, all of which use a single split point (but some smarts to avoid the quadratic run time on constant data).</description>
		<content:encoded><![CDATA[<p>Finally got around to going through Bentley&#8217;s masterpiece Programming Pearls Second Edition.  The tone is definitely different than that in Beautiful Code Bentley calls out bad performance and bugs much earlier (and expresses an aversion to reading others bug-filled &#8220;corrections&#8221;).  Column 11 of Programing Pearls presents 4 quick sorts, all of which use a single split point (but some smarts to avoid the quadratic run time on constant data).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.win-vector.com/blog/2008/04/sorting-in-anger/comment-page-1/#comment-4</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 14 Jun 2008 18:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.win-vector.com/blog/?p=13#comment-4</guid>
		<description>I found out that Tim Peters (of PythonLabs)  wrote a very nice article covering these kind of issues with QuickSort in his introduction for chapter 5 of the Python Cookbook (2nd Edition, O&#039;Reilly 2005).  Hoare&#039;s original implementation (as a junior programmer) won a bet that he could not come up with anything faster than the highly tuned system sorting function (a great example of &quot;coding in the small&quot;).  Of course in the wild a lot of other issues show up (minimizing object creation, applying permutations to external lists, non-deterministic floating point implementations, heap structures and stable sorting).</description>
		<content:encoded><![CDATA[<p>I found out that Tim Peters (of PythonLabs)  wrote a very nice article covering these kind of issues with QuickSort in his introduction for chapter 5 of the Python Cookbook (2nd Edition, O&#8217;Reilly 2005).  Hoare&#8217;s original implementation (as a junior programmer) won a bet that he could not come up with anything faster than the highly tuned system sorting function (a great example of &#8220;coding in the small&#8221;).  Of course in the wild a lot of other issues show up (minimizing object creation, applying permutations to external lists, non-deterministic floating point implementations, heap structures and stable sorting).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
