<?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: Justin Etheredge’s LINQ Challenge</title>
	<atom:link href="http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/feed/" rel="self" type="application/rss+xml" />
	<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/</link>
	<description>Rambling and occasional wisdom from Nate Kohari</description>
	<lastBuildDate>Thu, 21 Jul 2011 13:50:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: The TekPub LINQ Challenge Part 2 – Faster Algorithms &#124; CodeThinked</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-474</link>
		<dc:creator><![CDATA[The TekPub LINQ Challenge Part 2 – Faster Algorithms &#124; CodeThinked]]></dc:creator>
		<pubDate>Fri, 18 Feb 2011 22:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-474</guid>
		<description><![CDATA[[...] my friend Nate over at Kohari.org created an implementation very similar to mine, but had one major difference, and that was leveraging the fact that for any number, in order to [...] ]]></description>
		<content:encoded><![CDATA[<p>[...] my friend Nate over at Kohari.org created an implementation very similar to mine, but had one major difference, and that was leveraging the fact that for any number, in order to [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-473</link>
		<dc:creator><![CDATA[Nate]]></dc:creator>
		<pubDate>Mon, 18 Jan 2010 13:43:27 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-473</guid>
		<description><![CDATA[M@: LINQ (at least LINQ to Objects, which is what we&#039;re talking about here) doesn&#039;t really have anything to do with databases. The syntax is reminiscent of SQL, but it&#039;s just intended to operate on collections of objects in memory.]]></description>
		<content:encoded><![CDATA[<p>M@: LINQ (at least LINQ to Objects, which is what we&#8217;re talking about here) doesn&#8217;t really have anything to do with databases. The syntax is reminiscent of SQL, but it&#8217;s just intended to operate on collections of objects in memory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M@</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-472</link>
		<dc:creator><![CDATA[M@]]></dc:creator>
		<pubDate>Wed, 13 Jan 2010 20:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-472</guid>
		<description><![CDATA[this is going to seem like a moronic question, but why create a programming language around sql?  I know NOTHING about LINQ so you can feel free to tell me to RTFM :)

I&#039;m working in a company that is about to start in on a lot of BI stuff, so I&#039;m curious to learn more about LINQ.]]></description>
		<content:encoded><![CDATA[<p>this is going to seem like a moronic question, but why create a programming language around sql?  I know NOTHING about LINQ so you can feel free to tell me to RTFM <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m working in a company that is about to start in on a lot of BI stuff, so I&#8217;m curious to learn more about LINQ.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conker</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-471</link>
		<dc:creator><![CDATA[Conker]]></dc:creator>
		<pubDate>Tue, 12 Jan 2010 15:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-471</guid>
		<description><![CDATA[Hello Nate, not trying to take a credit, its a cleaned up version of your query :)
To be compatible with chanllenge, the first check x != 1 can be left as it is, it doesnt affect speed as much as second check x!=y, which is completely unnecessary.
Challenge aside, i think this cleaned version is as very elegant , simple  and truly shows the power of LINQ.]]></description>
		<content:encoded><![CDATA[<p>Hello Nate, not trying to take a credit, its a cleaned up version of your query <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
To be compatible with chanllenge, the first check x != 1 can be left as it is, it doesnt affect speed as much as second check x!=y, which is completely unnecessary.<br />
Challenge aside, i think this cleaned version is as very elegant , simple  and truly shows the power of LINQ.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-470</link>
		<dc:creator><![CDATA[Nate]]></dc:creator>
		<pubDate>Tue, 12 Jan 2010 13:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-470</guid>
		<description><![CDATA[@Conker:

The challenge said the beginning of the statement had to start with Enumerable.Range(1, max) ... otherwise I&#039;d agree. :)]]></description>
		<content:encoded><![CDATA[<p>@Conker:</p>
<p>The challenge said the beginning of the statement had to start with Enumerable.Range(1, max) &#8230; otherwise I&#8217;d agree. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conker</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-469</link>
		<dc:creator><![CDATA[Conker]]></dc:creator>
		<pubDate>Tue, 12 Jan 2010 11:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-469</guid>
		<description><![CDATA[More compact and faster variant :

int max = ...
var primes = Enumerable.Range(2, max-1).Where(x =&gt; !Enumerable.Range(2, (int)Math.Sqrt(x)-1).Any(y =&gt;x % y == 0));]]></description>
		<content:encoded><![CDATA[<p>More compact and faster variant :</p>
<p>int max = &#8230;<br />
var primes = Enumerable.Range(2, max-1).Where(x =&gt; !Enumerable.Range(2, (int)Math.Sqrt(x)-1).Any(y =&gt;x % y == 0));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yex</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-468</link>
		<dc:creator><![CDATA[Yex]]></dc:creator>
		<pubDate>Sat, 09 Jan 2010 01:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-468</guid>
		<description><![CDATA[Thanks for the post. I&#039;d love a subscription to TekPub. I figured the other guy didn&#039;t leave an email address, so maybe I still had a shot, eh?  ; )]]></description>
		<content:encoded><![CDATA[<p>Thanks for the post. I&#8217;d love a subscription to TekPub. I figured the other guy didn&#8217;t leave an email address, so maybe I still had a shot, eh?  ; )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-467</link>
		<dc:creator><![CDATA[Nate]]></dc:creator>
		<pubDate>Sat, 09 Jan 2010 01:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-467</guid>
		<description><![CDATA[@Rene: It&#039;s yours. Send me an email (nate@enkari.com) with your info and I&#039;ll pass it along to Justin. :)]]></description>
		<content:encoded><![CDATA[<p>@Rene: It&#8217;s yours. Send me an email (nate@enkari.com) with your info and I&#8217;ll pass it along to Justin. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene</title>
		<link>http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-466</link>
		<dc:creator><![CDATA[Rene]]></dc:creator>
		<pubDate>Sat, 09 Jan 2010 01:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://kohari.org/2010/01/08/justin-etheredges-linq-challenge/#comment-466</guid>
		<description><![CDATA[i want the suscription =D]]></description>
		<content:encoded><![CDATA[<p>i want the suscription =D</p>
]]></content:encoded>
	</item>
</channel>
</rss>

