<?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: Insertion Sort In PHP</title>
	<atom:link href="http://blainegarrett.com/2008/05/30/insertion-sort-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blainegarrett.com/2008/05/30/insertion-sort-in-php/</link>
	<description>Blaine Garrett's Home on the Web - Art, Programming, Ideas, and more</description>
	<lastBuildDate>Wed, 16 May 2012 16:00:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Nish</title>
		<link>http://blainegarrett.com/2008/05/30/insertion-sort-in-php/comment-page-1/#comment-7141</link>
		<dc:creator>Nish</dc:creator>
		<pubDate>Mon, 24 Aug 2009 20:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://blainegarrett.com/blog/?p=262#comment-7141</guid>
		<description>A faster insertion sort: 
http://www.think-lamp.com/2009/08/fastest-insertion-sort-in-php/

$numbers = array(2,3,4,5,1,8,11,0);
$count = count($numbers);
 
for($i=1;$i=0 &amp;&amp; $numbers[$j] &gt;  $key){
		$numbers[$j+1] = $numbers[$j];
		$numbers[$j]= $key;
		$j= $j-1;		
	}
}
print_r($numbers);</description>
		<content:encoded><![CDATA[<p>A faster insertion sort:<br />
<a href="http://www.think-lamp.com/2009/08/fastest-insertion-sort-in-php/" rel="nofollow">http://www.think-lamp.com/2009/08/fastest-insertion-sort-in-php/</a></p>
<p>$numbers = array(2,3,4,5,1,8,11,0);<br />
$count = count($numbers);</p>
<p>for($i=1;$i=0 &amp;&amp; $numbers[$j] &gt;  $key){<br />
		$numbers[$j+1] = $numbers[$j];<br />
		$numbers[$j]= $key;<br />
		$j= $j-1;<br />
	}<br />
}<br />
print_r($numbers);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

