<?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>MSDN TV: CLR Method Dispatch Internals</title><link>http://blogs.msdn.com/joelpob/archive/2005/11/04/489131.aspx</link><description>Joe Duffy and I recently did an MSDN TV stint on Method Dispatch Internals . Joe concentrated on the static end of the spectrum, while I talked about late-bound binding and dynamic calling convention. I also appeared with fellow Australian Microsofties</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: MSDN TV: CLR Method Dispatch Internals</title><link>http://blogs.msdn.com/joelpob/archive/2005/11/04/489131.aspx#489409</link><pubDate>Sat, 05 Nov 2005 16:28:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:489409</guid><dc:creator>Gustavo Guerra</dc:creator><description>Hi&lt;br&gt;&lt;br&gt;I actually already started on LCG, based on your previous blog posts about the subject, but that video is a great introduction also.&lt;br&gt;&lt;br&gt;Can you answer me two questions?&lt;br&gt;&lt;br&gt;1)I'm using LCG to optimize method calls in a custom Rpc framework, but I've stumbled across a problem with generic methods. Is it possible to generate a method using LCG that receives a type array and calls a generic method with those type parameters? I mean to replace code like this:&lt;br&gt;&lt;br&gt;MethodInfo method;&lt;br&gt;object[] parameters;&lt;br&gt;Type[] type_parameters;&lt;br&gt;method.MakeGenericMethod(type_parameters).Invoke(parameters);&lt;br&gt;&lt;br&gt;with&lt;br&gt;&lt;br&gt;DynamicMethod dm = SomeMethodThatGeneratesAGenericDynamicMethod(method);&lt;br&gt;dm.Invoke(null, new object[] { type_parameters, parameters)});&lt;br&gt;&lt;br&gt;&lt;br&gt;2) Is there a performance difference between DynamicMethod.Invoke and DynamicMethod.CreateDelegate and then later calling the delegate?&lt;br&gt;&lt;br&gt;Best regards,&lt;br&gt;Gustavo Guerra</description></item><item><title>MSDN TV: CLR Method Dispatch Internals</title><link>http://blogs.msdn.com/joelpob/archive/2005/11/04/489131.aspx#6566757</link><pubDate>Wed, 28 Nov 2007 06:24:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6566757</guid><dc:creator>MSDN TV: CLR Method Dispatch Internals</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://feeds.maxblog.eu/item_1328754.html"&gt;http://feeds.maxblog.eu/item_1328754.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Joel Pobar s CLR weblog MSDN TV CLR Method Dispatch Internals | Wood TV Stand</title><link>http://blogs.msdn.com/joelpob/archive/2005/11/04/489131.aspx#9672909</link><pubDate>Mon, 01 Jun 2009 02:38:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9672909</guid><dc:creator> Joel Pobar s CLR weblog MSDN TV CLR Method Dispatch Internals | Wood TV Stand</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://woodtvstand.info/story.php?id=14222"&gt;http://woodtvstand.info/story.php?id=14222&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>