<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Performance Tuning of Code - Comments</title>
 <link>http://www.newlc.com/en/performance-tuning-code</link>
 <description>Comments for &quot;Performance Tuning of Code&quot;</description>
 <language>en</language>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-51500</link>
 <description>&lt;p&gt;Thanks for sharing. This is very helpful. Hope you can share more&lt;br /&gt;
&lt;br/&gt;&lt;a href=&quot;http://www.eveisk.org&quot;&gt;eve isk&lt;/a&gt;&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Sat, 14 Nov 2009 13:51:24 +0100</pubDate>
 <dc:creator>crammond</dc:creator>
 <guid isPermaLink="false">comment 51500 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47725</link>
 <description>&lt;p&gt;Very useful article. But still there is a scope to add a spice.&lt;br /&gt;
&quot;Code snippets&quot; can be added to elaborate the issues like in Array  and TRAPS usage.&lt;br /&gt;
Thanks &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt;&lt;/p&gt;</description>
 <pubDate>Tue, 29 Jul 2008 10:33:53 +0200</pubDate>
 <dc:creator>Willi</dc:creator>
 <guid isPermaLink="false">comment 47725 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47142</link>
 <description>&lt;p&gt; Hi,&lt;/p&gt;

&lt;p&gt;It&#039;s really a very nice article and very helping also.  &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt; &lt;/p&gt;

&lt;p&gt;thanks&amp;Regards&lt;br /&gt;
Isha&lt;/p&gt;</description>
 <pubDate>Mon, 23 Jun 2008 15:39:35 +0200</pubDate>
 <dc:creator>Isha</dc:creator>
 <guid isPermaLink="false">comment 47142 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47063</link>
 <description>&lt;p&gt;Hi GB San,&lt;/p&gt;

&lt;p&gt;Nice to see your feedback. Profiler is something which we use to get the running behavior of our code/application in terms of memory/power/CPU time utilization. Another beautiful tool is Bappea it is another powerful analysis tool and its GUI is also user friendly but I am not sure that it is available outside.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Reeju&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Mon, 16 Jun 2008 15:09:24 +0200</pubDate>
 <dc:creator>cheers</dc:creator>
 <guid isPermaLink="false">comment 47063 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47056</link>
 <description>&lt;p&gt;Hi Olof,&lt;/p&gt;

&lt;p&gt;Thanks for the feedback. I have updated #12 and #11.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Reeju&lt;/p&gt;</description>
 <pubDate>Mon, 16 Jun 2008 09:52:43 +0200</pubDate>
 <dc:creator>cheers</dc:creator>
 <guid isPermaLink="false">comment 47056 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47051</link>
 <description>&lt;p&gt;Nice article !!!&lt;/p&gt;

&lt;p&gt;you have definitely pointed out good programing methods for better performance while developing code. any thoughts on identifing such flaws for an already developed code as you mentioned performance tools like profiler in the opening para? &lt;/p&gt;</description>
 <pubDate>Mon, 16 Jun 2008 04:08:25 +0200</pubDate>
 <dc:creator>banerjee_008</dc:creator>
 <guid isPermaLink="false">comment 47051 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47027</link>
 <description>&lt;p&gt;Nice article!&lt;/p&gt;

&lt;p&gt;#11 do need some more clarification though, as previously mentioned.&lt;/p&gt;

&lt;p&gt;Also, in #12, I think you talk a bit too much about the CBase-arrays, and a bit too little about the R-arrays. &lt;br /&gt;
You do say that R-arrays are preferred, but you mostly talk about the CBase-arrays.&lt;br /&gt;
A bit more about the R-arrays, maybe a bit more about the difference between an RPointerArray and RArray, and when you should choose which of those.&lt;br /&gt;
And also clarify its very seldom you need any other type of array then the R-ones, and you should never need to use the flat CBase-array....&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
 <pubDate>Fri, 13 Jun 2008 12:06:58 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 47027 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47014</link>
 <description>&lt;p&gt;True. Maybe the article could just clarify the role of pointer descriptors. Many times newbies try to use pointer descriptors as if they would hold data (or even TDesC!) and not understanding that they actually themselves do not contain any data but point to a data in some other descriptor. So clarifying this and leading the readers to use pointer descriptors as you described would be better. And this is directly related to performance too.&lt;/p&gt;</description>
 <pubDate>Thu, 12 Jun 2008 14:14:11 +0200</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 47014 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47013</link>
 <description>&lt;p&gt;I don&#039;t totally agree on your #11 Andreas. It is sometimes good to push people to use TPtr/TPtrC when they can. I have seen so many poor usage of TBuf just to extract substrings than a small reminder about these is always welcomed.&lt;/p&gt;</description>
 <pubDate>Thu, 12 Jun 2008 13:38:22 +0200</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">comment 47013 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47011</link>
 <description>&lt;p&gt;Hi heikkipora,&lt;/p&gt;

&lt;p&gt;I gone through your article its worth of reading. Thanks for the link.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Reeju&lt;/p&gt;</description>
 <pubDate>Thu, 12 Jun 2008 12:40:54 +0200</pubDate>
 <dc:creator>cheers</dc:creator>
 <guid isPermaLink="false">comment 47011 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-47006</link>
 <description>&lt;p&gt;A related article probably worth reading is &lt;a href=&quot;http://www.newlc.com/Application-Size-Optimisation-in.html&quot;&gt;http://www.newlc.com/Application-Size-Optimisation-in.html&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Thu, 12 Jun 2008 07:52:05 +0200</pubDate>
 <dc:creator>heikkipora</dc:creator>
 <guid isPermaLink="false">comment 47006 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-46984</link>
 <description>&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;p&gt;Thanks for your feedback &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt; sure i will do required changes in my article.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br /&gt;
Reeju &lt;/p&gt;</description>
 <pubDate>Wed, 11 Jun 2008 11:04:56 +0200</pubDate>
 <dc:creator>cheers</dc:creator>
 <guid isPermaLink="false">comment 46984 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code#comment-46978</link>
 <description>&lt;p&gt;Comments:&lt;/p&gt;

&lt;p&gt;#10: In a general article like this, try to avoid using S60 or UIQ specific APIs to make your article really general. SysUtils is S60, AFAIK. RFs::Volume provides the same information.&lt;/p&gt;

&lt;p&gt;#11: TPtr and TPtrC are pointer descriptors, pointing to some descriptor data &lt;span style=&quot;font-style:italic&quot;&gt;somewhere else&lt;/span&gt;. They themselves do not solve any problem. You should only talk about stack (TBuf/C) versus heap descriptors (HBufC/RBuf). Selecting between RBuf and HBufC, in relation to performance -- RBuf has a simpler API and is easier to use, but you do not explain what is the actual performance issue here? HBufC is also dynamic. Regarding the 16 char max size for stack descriptors -- IMO you are a bit too much optimizing here. Usually in Symbian docs they mention that TFileName is about the max you are recommended to use, and TFileName is 256 chars (512 bytes in unicode). This also depends on the application. If you already consume the stack a lot, then try to avoid automatic stack descriptors. Which reminds me that you can safely put TBuf/C:s as member variables of C -classes, since they are on the heap anyways (which should also be mentioned).&lt;/p&gt;

&lt;p&gt;Articles like this are needed, thanks for summarizing things. Hopefully you will continue to edit this!&lt;/p&gt;</description>
 <pubDate>Wed, 11 Jun 2008 10:07:37 +0200</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 46978 at http://www.newlc.com</guid>
</item>
<item>
 <title>Performance Tuning of Code</title>
 <link>http://www.newlc.com/en/performance-tuning-code</link>
 <description>&lt;p&gt;If an application runs and performs all required task for the user or client, doesn’t means that it is complete in all the sense. Using performance analysis tools like profiler we can find out how our application is performing internally means in terms of speed, memory usage and power utilization. There are lots of issues which can reduce performance of your application; and here is a list of some of them&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/performance-tuning-code&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/performance-tuning-code#comments</comments>
 <category domain="http://www.newlc.com/en/taxonomy/term/1">Basics</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/41">Symbian OS</category>
 <category domain="http://www.newlc.com/en/newlc/term/510">Optimization</category>
 <pubDate>Wed, 11 Jun 2008 09:18:28 +0200</pubDate>
 <dc:creator>cheers</dc:creator>
 <guid isPermaLink="false">21180 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
