<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1046595" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1046595</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Actually, I moved the scripts</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/hooks-and-plugins-why-my-function-slow#comment-1248777</link>
    <description> &lt;p&gt;Actually, I moved the scripts from my shared hosting test environment to the product dedicated server and it runs more than 10 times quicker?&lt;/p&gt;
&lt;p&gt;Could my shared hosting on Hostgator really be so slow.  The scripts call Kelkoo and another shopping service and get the products back as XML which I convert to PHP object and create a new array which I send the the client as json_encoded?&lt;/p&gt;
&lt;p&gt;I am using cURL, simpleXML and json_encoded. Apart from this I load up 3 plugins and use the call_user_func() method.&lt;/p&gt;
&lt;p&gt;Are any of these resource intensive?&lt;/p&gt;
&lt;p&gt;Or could it be that Hostgator shared hosting is just slow and rubbish?&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2010 11:22:55 +0000</pubDate>
 <dc:creator>benf</dc:creator>
 <guid isPermaLink="false">comment 1248777 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I&#039;ve never used</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/hooks-and-plugins-why-my-function-slow#comment-1248745</link>
    <description> &lt;p&gt;I&#039;ve never used function_exists(), but that seems like it could be a resource hog. According to the docs, call_user_func() &quot;Returns the function result, or FALSE on error&quot; so it looks like you don&#039;t need to check that the function actually exists.&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 May 2010 19:17:36 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1248745 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I think this is going to be</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/hooks-and-plugins-why-my-function-slow#comment-1248742</link>
    <description> &lt;p&gt;I think this is going to be the main issue:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$these_hooks = explode(&amp;#039;|&amp;#039;, $this-&amp;gt;hooks[$where]);&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I would store it in an array rather than a string where you have to explode several of them on every page request.&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 May 2010 16:42:00 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1248742 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
