<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tags 'Code' and 'ASP.NET Tip'</title><link>http://blogs.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Code,ASP.NET+Tip&amp;orTags=0</link><description>Search results matching tags 'Code' and 'ASP.NET Tip'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Improving Time-Critical Code written in C</title><link>http://blogs.iis.net/tomchris/archive/2008/09/02/improving-time-critical-code-written-in-c.aspx</link><pubDate>Tue, 02 Sep 2008 10:00:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2595111</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>tomchris</cs:applicationKey><description>&lt;p&gt;Writing web pages is very similar to writing any other type of code.&amp;#160; You have to understand how it is going to be used and where you need to really make things run as quickly as possible.&lt;/p&gt;  &lt;p&gt;There are a number of tips on this blog already that deal with managed code and ways to optimize it.&amp;#160; But one of the things that we don't look at as often are other areas of code that we are dependant on.&amp;#160; For example, if you P/Invoke a native function, whatever it is doing, is something that you need to be aware of.&amp;#160; Because there is a lot of native functionality that is still available to us, I wanted to remind everyone of some of the tips you can use when dealing with C/C++ code.&lt;/p&gt;  &lt;p&gt;A great place to start is with: &lt;a title="http://msdn.microsoft.com/en-us/library/eye126ky.aspx" href="http://msdn.microsoft.com/en-us/library/eye126ky.aspx"&gt;Tips for Improving Time-Critical Code&lt;/a&gt;.&amp;#160; While most of these things don't apply to .NET based code, they are all very important when working with native code.&amp;#160; Another useful thing to be aware of is what the compiler can do for you.&amp;#160; For example, take a look at &lt;a title="http://msdn.microsoft.com/en-us/library/aa290055.aspx" href="http://msdn.microsoft.com/en-us/library/aa290055.aspx"&gt;Optimizing Your Code with Visual C++&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Feel free to add your own tips or pointers here.&amp;#160; I'd like to get a good collection going and then I can share that out as well.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8916635" width="1" height="1"&gt;</description></item></channel></rss>