<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for Inline routines (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/4793-inline-routines/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for Inline routines (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/</link></image><description>Inline routines</description><link>http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/</link><language>en-us</language><pubDate>Tue, 27 Apr 2004 15:46:08 GMT</pubDate><lastBuildDate>Tue, 27 Apr 2004 15:46:08 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3243.35083, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Inline routines</title><description>&lt;blockquote&gt;
				&lt;div&gt;Tom Servo wrote:&lt;/div&gt;
				&lt;div&gt;IIRC .NET decides that on its own. I think some requirements for the JIT to perform inlining was max. 32bytes of IL code, no branching, and some other stuff I can't remember. Not sure about the branching though.&lt;br /&gt;&lt;/div&gt;
		&lt;/blockquote&gt;
		&lt;br /&gt;
		&lt;br /&gt;I've seen posts saying that you can get away with&amp;nbsp;*one* if-then-else construct in a function and still have it inlined. It's probably something to check on a case-by-case basis though .</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4805</link><pubDate>Tue, 27 Apr 2004 15:46:08 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4805</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/4805/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>	Tom Servo wrote:
				IIRC .NET decides that on its own. I think some requirements for the JIT to perform inlining was max. 32bytes of IL code, no branching, and some other stuff I can't remember. Not sure about the branching though.
		
		
		I've seen posts saying that you can get away&amp;#8230;</evnet:previewtext><dc:creator>jonathanh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/4805/Trackback.aspx</trackback:ping></item><item><title>Re: Inline routines</title><description>Cool, thanks for the info!</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4798</link><pubDate>Tue, 27 Apr 2004 15:04:13 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4798</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/4798/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Cool, thanks for the info!</evnet:previewtext><dc:creator>Akaina</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/4798/Trackback.aspx</trackback:ping></item><item><title>Re: Inline routines</title><description>For me, in a (good) modern language this sort of thing should always be
left to the compiler or the jitter. Write good, clean code and rely on the quality of
the compiler/jitter. Otherwise you may find that your optimisations themselves
cause problems when a new version of the compiler (or jitter) is released.&lt;br /&gt;
&lt;br /&gt;
In .Net, inlining takes place in the JIT.&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4796</link><pubDate>Tue, 27 Apr 2004 15:00:27 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4796</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/4796/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>For me, in a (good) modern language this sort of thing should always be
left to the compiler or the jitter. Write good, clean code and rely on the quality of
the compiler/jitter. Otherwise you may find that your optimisations themselves
cause problems when a new version of the compiler (or&amp;#8230;</evnet:previewtext><dc:creator>Cronan</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/4796/Trackback.aspx</trackback:ping></item><item><title>Re: Inline routines</title><description>.Net inlines everything it can&lt;br /&gt;
Eric (Gunnerson) has &lt;a href="http://blogs.msdn.com/ericgu/archive/2004/01/29/64644.aspx"&gt;blogged &lt;/a&gt;on this&lt;br /&gt;
As has &lt;a href="http://blogs.msdn.com/ricom/archive/2004/01/14/58703.aspx"&gt;Rico Mariani&lt;/a&gt;&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4795</link><pubDate>Tue, 27 Apr 2004 14:54:30 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4795</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/4795/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>.Net inlines everything it can
Eric (Gunnerson) has blogged on this
As has Rico Mariani</evnet:previewtext><dc:creator>Cronan</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/4795/Trackback.aspx</trackback:ping></item><item><title>Re: Inline routines</title><description>IIRC .NET decides that on its own. I think some requirements for the
JIT to perform inlining was max. 32bytes of IL code, no branching, and
some other stuff I can't remember. Not sure about the branching though.&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4794</link><pubDate>Tue, 27 Apr 2004 14:39:37 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/4793-Inline-routines/?CommentID=4794</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/4794/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>IIRC .NET decides that on its own. I think some requirements for the
JIT to perform inlining was max. 32bytes of IL code, no branching, and
some other stuff I can't remember. Not sure about the branching though.</evnet:previewtext><dc:creator>Tom Servo</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/4794/Trackback.aspx</trackback:ping></item></channel></rss>