<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Performance issue</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Performance issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 03:00:43 +0000</pubDate>
  <lastBuildDate>Fri, 01 May 2015 07:37:54 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=22585</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Performance issue : oh yes, you are right! sorry!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22585&amp;PID=73365&amp;title=performance-issue#73365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8817">cluster</a><br /><strong>Subject:</strong> 22585<br /><strong>Posted:</strong> 01 May 2015 at 7:37am<br /><br />oh yes, you are right! sorry! I have checked it several times but I didn't see it.<br><br>and with the other issue I have put this lines in the Draw function<br><br>CMy_XTPTrackBlock::Draw(CDC* pDC, CRect rc, BOOL bSelected)<br>...<br><br><b>&nbsp;&nbsp;&nbsp; // Add to increase performance<br>&nbsp;&nbsp;&nbsp; CRect rcVisible(rc);<br>&nbsp;&nbsp;&nbsp; // ---- end----</b><br><br>&nbsp;&nbsp;&nbsp; rc.left&nbsp; = pTrackControl-&gt;PositionToTrack(m_nPosition);<br>&nbsp;&nbsp;&nbsp; rc.right = pTrackControl-&gt;PositionToTrack(m_nPosition + m_nLength);<br><br><b>&nbsp;&nbsp;&nbsp; // Add to increase performance<br>&nbsp;&nbsp;&nbsp; if(rc.left &gt; rcVisible.right || rc.right &lt; rcVisible.left) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_rcBlock = rc;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return 0;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; // ---- end----</b><br><br>...<br>]]>
   </description>
   <pubDate>Fri, 01 May 2015 07:37:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22585&amp;PID=73365&amp;title=performance-issue#73365</guid>
  </item> 
  <item>
   <title><![CDATA[Performance issue : I think you are missing that the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22585&amp;PID=73353&amp;title=performance-issue#73353</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 22585<br /><strong>Posted:</strong> 30 April 2015 at 8:05am<br /><br />I think you are missing that the first loop executes when:<div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>if (pBlock &amp;&amp; <b>!</b>pBlock-&gt;IsKey()) // Notice the '!'</div><div>...</div><div></pre></td></tr></table></div><div><br></div><div>and the other loop when:&nbsp;</div><div><br></div><div><span style="line-height: 16.7999992370605px;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div><span style="line-height: 16.7999992370605px;">if (pBlock &amp;&amp;&nbsp;</span><span style="line-height: 16.7999992370605px;">pBlock-&gt;IsKey())</span></div><div><span style="line-height: 16.7999992370605px;">...</span></div><div><span style="line-height: 16.7999992370605px;"></pre></td></tr></table></span></div>]]>
   </description>
   <pubDate>Thu, 30 Apr 2015 08:05:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22585&amp;PID=73353&amp;title=performance-issue#73353</guid>
  </item> 
  <item>
   <title><![CDATA[Performance issue : Hi Support Team,I have a question...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22585&amp;PID=73348&amp;title=performance-issue#73348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8817">cluster</a><br /><strong>Subject:</strong> 22585<br /><strong>Posted:</strong> 29 April 2015 at 9:48am<br /><br />Hi Support Team,<br><br>I have a question concerning CXTPTrackControlItem::Draw from line 191 to 233:<br>There are 2 "for loops" with the same content. That means you draw all blocks twice. Why?<br><br>Another performance question:<br>You draw all blocks in a row no matter if they are visible or not. <span ="b5">Would it not b</span><span ="b4">e p</span><span ="b3">referable</span><b ="b3"> </b>if you check if the blocks are out of visible range.<br><br>Thanks<br><br>]]>
   </description>
   <pubDate>Wed, 29 Apr 2015 09:48:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22585&amp;PID=73348&amp;title=performance-issue#73348</guid>
  </item> 
 </channel>
</rss>