.NET and speed: An int is just an int

2011-02-07

So what is true about .NET and preformance? As long as you treat the an int as an int, there is no COM overhead. From a new post by Roger Alsing:

.NET have specific IL op codes in order to deal with primitives, and those opcodes will translate to pure machine code.

Also:

The value hex 7B (dec 123) is moved directly into the memory slot for the local variable.

Check out Roger’s blog.

Categories: Microsoft .NET

Leave a Reply

Your email address will not be published. Required fields are marked *



If this is your first comment, it will be moderated before it is shown.