<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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/"><channel><title>Tip 54 – How to improve performance using Statement Expressions</title><link>http://blogs.msdn.com/b/alexj/archive/2010/02/13/tip-54-how-to-improve-performance-using-statement-expressions.aspx</link><description>Background: While writing the update post in my Data Service Provider series I ended up writing this block of reflection code to copy properties values from one object to another: foreach (var prop in resourceType .Properties .Where(p =&amp;gt; (p.Kind &amp;amp;</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Tip 54 – How to improve performance using Statement Expressions</title><link>http://blogs.msdn.com/b/alexj/archive/2010/02/13/tip-54-how-to-improve-performance-using-statement-expressions.aspx#9963674</link><pubDate>Mon, 15 Feb 2010 16:38:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9963674</guid><dc:creator>Alex D James</dc:creator><description>&lt;p&gt;@John &lt;/p&gt;
&lt;p&gt;I've got no perf numbers specific to this technique, but it should be a significant difference, its essentially the difference between normal code (once the expression is compiled) and reflection.&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9963674" width="1" height="1"&gt;</description></item><item><title>re: Tip 54 – How to improve performance using Statement Expressions</title><link>http://blogs.msdn.com/b/alexj/archive/2010/02/13/tip-54-how-to-improve-performance-using-statement-expressions.aspx#9963582</link><pubDate>Mon, 15 Feb 2010 15:12:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9963582</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Curious if you have performance numbers using Expressions over the nested reflection&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9963582" width="1" height="1"&gt;</description></item></channel></rss>