<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — is this optimization?]]></title>
		<link>https://punbb.informer.com/forums/topic/18331/is-this-optimization/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/18331/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in is this optimization?.]]></description>
		<lastBuildDate>Fri, 08 Feb 2008 13:44:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: is this optimization?]]></title>
			<link>https://punbb.informer.com/forums/post/109149/#p109149</link>
			<description><![CDATA[<p>cool. thx</p>]]></description>
			<author><![CDATA[null@example.com (lie2815)]]></author>
			<pubDate>Fri, 08 Feb 2008 13:44:08 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/109149/#p109149</guid>
		</item>
		<item>
			<title><![CDATA[Re: is this optimization?]]></title>
			<link>https://punbb.informer.com/forums/post/109144/#p109144</link>
			<description><![CDATA[<p>Yes, that likely would be, I&#039;ll make the changes</p>]]></description>
			<author><![CDATA[null@example.com (Smartys)]]></author>
			<pubDate>Fri, 08 Feb 2008 11:34:19 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/109144/#p109144</guid>
		</item>
		<item>
			<title><![CDATA[is this optimization?]]></title>
			<link>https://punbb.informer.com/forums/post/109135/#p109135</link>
			<description><![CDATA[<p>There are a few queries e.g in moderate.php, that do something like this:</p><div class="codebox"><pre><code>&#039;SELECT 1 FROM topics WHERE id IN (&#039;.implode(&#039;,&#039;, $topics).&#039;)&#039;</code></pre></div><p>And then you compare the num_rows of the result to the count of the array $topics.</p><p>I don&#039;t know if this is really optimization, so - would it be faster to do a query like this?</p><div class="codebox"><pre><code>&#039;SELECT COUNT(id) FROM topics WHERE id IN (&#039;.implode(&#039;,&#039;, $topics).&#039;)&#039;</code></pre></div><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (lie2815)]]></author>
			<pubDate>Fri, 08 Feb 2008 09:35:26 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/109135/#p109135</guid>
		</item>
	</channel>
</rss>
