<?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>Speed of direct calls vs interfaces vs delegates vs virtuals</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx</link><description>I've gotten a couple of follow-up questions on my column on dynamic dispatch asking why there are differences between direct calls, interface calls, virtual calls, and delegate calls. I'm not Jan or Rico , who know a lot more about these topics than I</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Speed of direct calls vs interfaces vs delegates vs virtuals</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx#92997</link><pubDate>Fri, 19 Mar 2004 23:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:92997</guid><dc:creator>Shane King</dc:creator><description>Surely you could inline the IProcessor.Process call if you'd already inlined the D.Dispatch call, since you'd then have sufficient type information to know that the process argument, although declared IProcessor, was actually of type Processor.&lt;br&gt;&lt;br&gt;I've got no idea whether the .NET runtime currently makes such optimisations, but they're certainly possible.&lt;br&gt;</description></item><item><title>re: Speed of direct calls vs interfaces vs delegates vs virtuals</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx#93043</link><pubDate>Sat, 20 Mar 2004 01:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:93043</guid><dc:creator>Phillip Trelford</dc:creator><description>&amp;quot;also possible that we didn't think deeply enough about the problem initially&amp;quot;&lt;br&gt;I think you might have just got it on the head!&lt;br&gt;Have you read any DeMarco?&lt;br&gt;If you want to know how stuff works then use Anakrino (yes, use Google) and it will magically disassemble your code/any code.&lt;br&gt;Then magically you will know what is going on.&lt;br&gt;The .Net runtime making optimisations?&lt;br&gt;Not seen it myself, let me know.&lt;br&gt;So, what do I believe in to be so antagonistic,&lt;br&gt;a higher being, Bill Gates?&lt;br&gt;So have you thought about this immutable string thing?&lt;br&gt;Did you know that in C++ there is a phrase called mutable?&lt;br&gt;Did you know that there is another called const?&lt;br&gt;Did you know that the language allows you to initialise your instances on the stack, or on the heap, and then let them die when they go out of scope...&lt;br&gt;</description></item><item><title>MBA</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx#324806</link><pubDate>Sat, 18 Dec 2004 18:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:324806</guid><dc:creator>MBA</dc:creator><description>Helpful For MBA Fans.</description></item><item><title>Re:</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx#333955</link><pubDate>Tue, 28 Dec 2004 13:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:333955</guid><dc:creator>RebelGeekz </dc:creator><description>[&lt;a target="_new" href="http://itpeixun.51.net/"&gt;http://itpeixun.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://aissl.51.net/"&gt;http://aissl.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz003.freewebpage.org/"&gt;http://kukuxz003.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz001.51.net/"&gt;http://kukuxz001.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz003.51.net/"&gt;http://kukuxz003.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz005.51.net/"&gt;http://kukuxz005.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz002.51.net/"&gt;http://kukuxz002.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz004.freewebpage.org/"&gt;http://kukuxz004.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz007.51.net/"&gt;http://kukuxz007.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz001.freewebpage.org/"&gt;http://kukuxz001.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz006.51.net/"&gt;http://kukuxz006.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz002.freewebpage.org/"&gt;http://kukuxz002.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz004.51.net/"&gt;http://kukuxz004.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz008.51.net/"&gt;http://kukuxz008.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz009.51.net/"&gt;http://kukuxz009.51.net/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz005.freewebpage.org/"&gt;http://kukuxz005.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz006.freewebpage.org/"&gt;http://kukuxz006.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz007.freewebpage.org/"&gt;http://kukuxz007.freewebpage.org/&lt;/a&gt;][&lt;a target="_new" href="http://kukuxz009.freewebpage.org/"&gt;http://kukuxz009.freewebpage.org/&lt;/a&gt;]</description></item><item><title>Mock Objects, interface based programming, and dotnet</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx#390104</link><pubDate>Wed, 09 Mar 2005 08:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:390104</guid><dc:creator>Trey's Brain Dump</dc:creator><description /></item><item><title>Mock Objects, interface based programming, and dotnet</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx#390108</link><pubDate>Wed, 09 Mar 2005 08:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:390108</guid><dc:creator>Trey's Brain Dump</dc:creator><description /></item><item><title> Eric Gunnerson s C Compendium Speed of direct calls vs interfaces vs | internet marketing tools</title><link>http://blogs.msdn.com/ericgu/archive/2004/03/19/92911.aspx#9758532</link><pubDate>Tue, 16 Jun 2009 08:00:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9758532</guid><dc:creator> Eric Gunnerson s C Compendium Speed of direct calls vs interfaces vs | internet marketing tools</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://einternetmarketingtools.info/story.php?id=21462"&gt;http://einternetmarketingtools.info/story.php?id=21462&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>