<?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: Benchmarking on the glob() &#8220;dinosaur&#8221; and readdir() PHP functions	</title>
	<atom:link href="https://tutorialspage.com/benchmarking-on-the-glob-and-readdir-php-functions/feed/" rel="self" type="application/rss+xml" />
	<link>https://tutorialspage.com/benchmarking-on-the-glob-and-readdir-php-functions/</link>
	<description>Free tutorials and daily notes</description>
	<lastBuildDate>Sun, 11 Mar 2018 11:15:22 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: aalfiann		</title>
		<link>https://tutorialspage.com/benchmarking-on-the-glob-and-readdir-php-functions/#comment-668</link>

		<dc:creator><![CDATA[aalfiann]]></dc:creator>
		<pubDate>Sun, 11 Mar 2018 11:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://tutorialspage.com/?p=1094#comment-668</guid>

					<description><![CDATA[why glob seems slower in this benchmark? because glob will do recursive into sub dir if you write like this &quot;mydir/*&quot;.

just make sure there is no any sub dir to make glob fast.

&quot;mydir/*.jpg&quot; is faster because glob will not try to get files inside sub dir.]]></description>
			<content:encoded><![CDATA[<p>why glob seems slower in this benchmark? because glob will do recursive into sub dir if you write like this &#8220;mydir/*&#8221;.</p>
<p>just make sure there is no any sub dir to make glob fast.</p>
<p>&#8220;mydir/*.jpg&#8221; is faster because glob will not try to get files inside sub dir.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
