No inline keyword in C#

Eric Gunnerson from the C# team explains why C# doesn’t have the inline keyword.

For C#, inlining happens at the JIT level, and the JIT generally makes a decent decision. Rather than provide the ability to override that, I think the real long-term solution is to use profile-guided feedback so that the JIT can be smarter about what it inlines and what it doesn’t.

Posted in Programming at January 30th, 2004. Trackback URI: trackback

No Responses to “No inline keyword in C#”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>