<?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: 1,000,000th Fibonacci Number One-Liner in C</title>
	<atom:link href="http://www.ralree.com/2009/09/09/1000000th-fibonacci-number-one-liner-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com/2009/09/09/1000000th-fibonacci-number-one-liner-in-c/</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Fri, 12 Feb 2010 23:24:33 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Erik</title>
		<link>http://www.ralree.com/2009/09/09/1000000th-fibonacci-number-one-liner-in-c/comment-page-1/#comment-1492</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Fri, 11 Dec 2009 03:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ralree.com/?p=22673#comment-1492</guid>
		<description>Robert:

Thanks for the comment.  That isn&#039;t a bad way to generate the number, and if I slightly modify it, it does:

&lt;pre&gt;&lt;code&gt;
# Fibonacci in Python 3.0
i=0
c=1000000
# Sets number you want program to stop at.
x=0
y=1
while i&lt;=c:
  y=y+x
  i=i+1
  if i&lt;=c:
    x=x+y
    i=i+1
  else:
    break

print (&quot;  &quot;)
print (&quot;  &quot;)
print (&quot;Fibonacci number &quot;,i,&quot; = &quot;,y)
&lt;/code&gt;&lt;/pre&gt;

Yet, it takes over 3 times as long as my example 

Your script: 0m59.591s
My program: 0m17.435s</description>
		<content:encoded><![CDATA[<p>Robert:</p>
<p>Thanks for the comment.  That isn&#8217;t a bad way to generate the number, and if I slightly modify it, it does:</p>
<pre><code>
# Fibonacci in Python 3.0
i=0
c=1000000
# Sets number you want program to stop at.
x=0
y=1
while i&lt;=c:
  y=y+x
  i=i+1
  if i&lt;=c:
    x=x+y
    i=i+1
  else:
    break

print (&quot;  &quot;)
print (&quot;  &quot;)
print (&quot;Fibonacci number &quot;,i,&quot; = &quot;,y)
</code></pre>
<p>Yet, it takes over 3 times as long as my example </p>
<p>Your script: 0m59.591s<br />
My program: 0m17.435s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Ottignon</title>
		<link>http://www.ralree.com/2009/09/09/1000000th-fibonacci-number-one-liner-in-c/comment-page-1/#comment-1491</link>
		<dc:creator>Robert Ottignon</dc:creator>
		<pubDate>Fri, 11 Dec 2009 03:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ralree.com/?p=22673#comment-1491</guid>
		<description>Python code for generating 1000,000th number in the Fibonacci sequence (or any number, the attribute of c):

&lt;pre&gt;&lt;code&gt;# Fibonacci in Python 3.0
i=0
c=1000000
# Sets number you want program to stop at.
x=0
y=1
while i&lt;=c:
	print (&quot;  &quot;)
	print (&quot;  &quot;)
	print (&quot;Fibonacci number &quot;,i,&quot; = &quot;,x)
	y=y+x
	i=i+1
	if i&lt;=c:
		print (&quot;  &quot;)
		print (&quot;  &quot;)
		print (&quot;Fibonacci number &quot;,i,&quot; = &quot;,y)
		x=x+y
		i=i+1
	else:
		break
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Python code for generating 1000,000th number in the Fibonacci sequence (or any number, the attribute of c):</p>
<pre><code># Fibonacci in Python 3.0
i=0
c=1000000
# Sets number you want program to stop at.
x=0
y=1
while i< =c:
	print ("  ")
	print ("  ")
	print ("Fibonacci number ",i," = ",x)
	y=y+x
	i=i+1
	if i<=c:
		print ("  ")
		print ("  ")
		print ("Fibonacci number ",i," = ",y)
		x=x+y
		i=i+1
	else:
		break
</code></code></pre>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.315 seconds -->
