<?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: Day 3 &#8211; File operations</title>
	<atom:link href="http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/</link>
	<description>Something cool about Perl 6 every day</description>
	<lastBuildDate>Wed, 05 Jun 2013 15:41:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: markel</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-891</link>
		<dc:creator><![CDATA[markel]]></dc:creator>
		<pubDate>Wed, 25 May 2011 17:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-891</guid>
		<description><![CDATA[good tut!
thanks!]]></description>
		<content:encoded><![CDATA[<p>good tut!<br />
thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moritz</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-510</link>
		<dc:creator><![CDATA[Moritz]]></dc:creator>
		<pubDate>Mon, 13 Dec 2010 14:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-510</guid>
		<description><![CDATA[Note that the speed disadvantage comes from doing all IO operations (and keeping the result in memory) before any processing can happen.

In Perl 6, this is not the case. The IO operations happen as the list items are accessed. If the list is not consumed, no internal calls to readline() will be made.

Lazy lists are good for something after all :-)]]></description>
		<content:encoded><![CDATA[<p>Note that the speed disadvantage comes from doing all IO operations (and keeping the result in memory) before any processing can happen.</p>
<p>In Perl 6, this is not the case. The IO operations happen as the list items are accessed. If the list is not consumed, no internal calls to readline() will be made.</p>
<p>Lazy lists are good for something after all :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cd-MaN</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-509</link>
		<dc:creator><![CDATA[Cd-MaN]]></dc:creator>
		<pubDate>Mon, 13 Dec 2010 14:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-509</guid>
		<description><![CDATA[ok, so the comment system ate my &quot;less than&quot; and &quot;greater than&quot; signs. I will replace them with [ and ]:

for my $file ([*]) {
  ...
}]]></description>
		<content:encoded><![CDATA[<p>ok, so the comment system ate my &#8220;less than&#8221; and &#8220;greater than&#8221; signs. I will replace them with [ and ]:</p>
<p>for my $file ([*]) {<br />
  &#8230;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cd-MaN</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-508</link>
		<dc:creator><![CDATA[Cd-MaN]]></dc:creator>
		<pubDate>Mon, 13 Dec 2010 14:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-508</guid>
		<description><![CDATA[opendir/readder has a speed advantage in Perl 5 when there are many files/directories in a certain tree. Ie. the following code:

opendir D, &#039;foo&#039;;
while (my $file = readdir D) {
  ...
}
closedir D;

is faster and more memory efficient than the following (prettier looking) version:

for my $file () {
}

Is there some kind of mechanism (like lazy lists) in Perl 6 to have the implementation perform the optimal way?]]></description>
		<content:encoded><![CDATA[<p>opendir/readder has a speed advantage in Perl 5 when there are many files/directories in a certain tree. Ie. the following code:</p>
<p>opendir D, &#8216;foo&#8217;;<br />
while (my $file = readdir D) {<br />
  &#8230;<br />
}<br />
closedir D;</p>
<p>is faster and more memory efficient than the following (prettier looking) version:</p>
<p>for my $file () {<br />
}</p>
<p>Is there some kind of mechanism (like lazy lists) in Perl 6 to have the implementation perform the optimal way?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moritz</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-410</link>
		<dc:creator><![CDATA[Moritz]]></dc:creator>
		<pubDate>Sat, 04 Dec 2010 08:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-410</guid>
		<description><![CDATA[It excludes . and .. by default. Which means it saves you from writing a grep on your own in most use cases. Or put another way, it&#039;s a convenience.]]></description>
		<content:encoded><![CDATA[<p>It excludes . and .. by default. Which means it saves you from writing a grep on your own in most use cases. Or put another way, it&#8217;s a convenience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn M Moore</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-408</link>
		<dc:creator><![CDATA[Shawn M Moore]]></dc:creator>
		<pubDate>Sat, 04 Dec 2010 06:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-408</guid>
		<description><![CDATA[I&#039;m curious - why implement grep again as the &quot;test&quot; parameter? Does it do anything better?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m curious &#8211; why implement grep again as the &#8220;test&#8221; parameter? Does it do anything better?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-407</link>
		<dc:creator><![CDATA[Jake]]></dc:creator>
		<pubDate>Sat, 04 Dec 2010 06:08:35 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-407</guid>
		<description><![CDATA[You should use glob then]]></description>
		<content:encoded><![CDATA[<p>You should use glob then</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moritz</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-398</link>
		<dc:creator><![CDATA[Moritz]]></dc:creator>
		<pubDate>Fri, 03 Dec 2010 09:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-398</guid>
		<description><![CDATA[Right, you can tell it was specced (and implemented in Rakudo) by somebody who has written lots of Perl 5 code :-)]]></description>
		<content:encoded><![CDATA[<p>Right, you can tell it was specced (and implemented in Rakudo) by somebody who has written lots of Perl 5 code :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Haryanto</title>
		<link>http://perl6advent.wordpress.com/2010/12/03/day-3-file-operations/#comment-397</link>
		<dc:creator><![CDATA[Steven Haryanto]]></dc:creator>
		<pubDate>Fri, 03 Dec 2010 09:25:29 +0000</pubDate>
		<guid isPermaLink="false">http://perl6advent.wordpress.com/?p=466#comment-397</guid>
		<description><![CDATA[Reading the above, I think it&#039;s nice that dir() by default skips &quot;.&quot; and &quot;..&quot;, because in Perl 5 I always do this: next if /^\.\.?$/;]]></description>
		<content:encoded><![CDATA[<p>Reading the above, I think it&#8217;s nice that dir() by default skips &#8220;.&#8221; and &#8220;..&#8221;, because in Perl 5 I always do this: next if /^\.\.?$/;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
