<?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: The Sieve of Eratosthenes in C#</title>
	<atom:link href="http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/</link>
	<description>With a hint of Social Ineptitude</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:05:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Torleif</title>
		<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/#comment-5872</link>
		<dc:creator>Torleif</dc:creator>
		<pubDate>Sun, 03 Apr 2011 14:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=626#comment-5872</guid>
		<description>Oh really? Interesting. Maybe I might have to create a new post then with the real one, hehe. I thought this was pretty much the same, but I see your point! Thanks for the out-pointing :)

Do you have a good primality you can suggest? Have looked into that a bit, but found the whole thing a bit confusing. Seemed most of those tests didn&#039;t really prove it&#039;s a prime, but rather tell you it might be? And for generating a series of primes that seemed a bit risky...</description>
		<content:encoded><![CDATA[<p>Oh really? Interesting. Maybe I might have to create a new post then with the real one, hehe. I thought this was pretty much the same, but I see your point! Thanks for the out-pointing <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':)' class='wp-smiley smiley-1' /> </p>
<p>Do you have a good primality you can suggest? Have looked into that a bit, but found the whole thing a bit confusing. Seemed most of those tests didn&#8217;t really prove it&#8217;s a prime, but rather tell you it might be? And for generating a series of primes that seemed a bit risky&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/#comment-5852</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 02 Apr 2011 15:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=626#comment-5852</guid>
		<description>I must point out this isn&#039;t actually the Sieve of Eratostenes but trial division by primes.  By definition, a sieve takes a finite set of numbers and eliminates elements of the set.  In contrast, you are grabbing the next odd number and checking its primality via trial division.  If you would like to increase the efficiency of your algorithm, may I suggest you use a more efficient primality test: http://en.wikipedia.org/wiki/Prime_number#Primality_testing_vs._primality_proving</description>
		<content:encoded><![CDATA[<p>I must point out this isn&#8217;t actually the Sieve of Eratostenes but trial division by primes.  By definition, a sieve takes a finite set of numbers and eliminates elements of the set.  In contrast, you are grabbing the next odd number and checking its primality via trial division.  If you would like to increase the efficiency of your algorithm, may I suggest you use a more efficient primality test: <a href="http://en.wikipedia.org/wiki/Prime_number#Primality_testing_vs._primality_proving" rel="nofollow">http://en.wikipedia.org/wiki/Prime_number#Primality_testing_vs._primality_proving</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torleif</title>
		<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/#comment-2774</link>
		<dc:creator>Torleif</dc:creator>
		<pubDate>Tue, 07 Dec 2010 12:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=626#comment-2774</guid>
		<description>:D</description>
		<content:encoded><![CDATA[<p> <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':D' class='wp-smiley smiley-8' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory LEOCADIE</title>
		<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/#comment-2773</link>
		<dc:creator>Gregory LEOCADIE</dc:creator>
		<pubDate>Tue, 07 Dec 2010 12:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=626#comment-2773</guid>
		<description>mine...
Damn it...I should be more careful...
Ok, I learned 2 things:
- if a modification occurs in a copy/past code, check the my mouth before speaking
- LINQ is good :D</description>
		<content:encoded><![CDATA[<p>mine&#8230;<br />
Damn it&#8230;I should be more careful&#8230;<br />
Ok, I learned 2 things:<br />
- if a modification occurs in a copy/past code, check the my mouth before speaking<br />
- LINQ is good <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':D' class='wp-smiley smiley-8' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torleif</title>
		<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/#comment-2769</link>
		<dc:creator>Torleif</dc:creator>
		<pubDate>Tue, 07 Dec 2010 11:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=626#comment-2769</guid>
		<description>In yours or mine? Cause I cast the result of the sqrt to a ulong, so there shouldn&#039;t be any comparisons between double and ulong. Unless I&#039;m missing something here...</description>
		<content:encoded><![CDATA[<p>In yours or mine? Cause I cast the result of the sqrt to a ulong, so there shouldn&#8217;t be any comparisons between double and ulong. Unless I&#8217;m missing something here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory LEOCADIE</title>
		<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/#comment-2764</link>
		<dc:creator>Gregory LEOCADIE</dc:creator>
		<pubDate>Tue, 07 Dec 2010 07:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=626#comment-2764</guid>
		<description>It seems that my version is a little bit faster (I&#039;ll do more tests). I think that the comparison in the TakeWhile (double against ulong) is the culprit (the compiler has to generate more code to handle it).</description>
		<content:encoded><![CDATA[<p>It seems that my version is a little bit faster (I&#8217;ll do more tests). I think that the comparison in the TakeWhile (double against ulong) is the culprit (the compiler has to generate more code to handle it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory LEOCADIE</title>
		<link>http://www.geekality.net/2009/10/19/the-sieve-of-eratosthenes-in-c/#comment-2763</link>
		<dc:creator>Gregory LEOCADIE</dc:creator>
		<pubDate>Tue, 07 Dec 2010 07:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekality.net/?p=626#comment-2763</guid>
		<description>Oh good point. It was just another way, and not so good after all.
I&#039;ll make some benchmarks ;)</description>
		<content:encoded><![CDATA[<p>Oh good point. It was just another way, and not so good after all.<br />
I&#8217;ll make some benchmarks ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

