Significant performance gains associated with using the built-in .NET classes?

Quick little question ...

I know that sometimes in other languages, libraries have part of their code written on a platform with direct C for performance reasons. In such cases, you can get a huge performance boost using, if possible, library code.

Does the .NET platform do this? Is the implementation of the base class library in Microsoft optimized in some way that I cannot count on a match in managed code?

How about something like using KeyValuePair as a tuple type structure instead of writing mine?

+5
source share
6

,.NET Framework , - - , , KeyValuePair Tuple, ", .

, , .

  • , ?
  • Microsoft , , , .
  • , , , , , , .

Update

@gordy , , - , :

  • , , ,
  • , , , . , , , , , , , , .
+6

, , , "" Reflector.

, - , , , .

+2

, .

, MS - . , ... . , .

, , -, , . .

+1

? , , , , , , BCL, .

.NET 4.0 Tuple<>. .NET , - , KeyValuePair.

0

, MS . , , .

. .

0

, .

Miscrosoft "" . , " " .

, (, ..), .

0

All Articles