Error!
Success!

Optimization and Generics - The new() constraint

0
kicks

Optimization and Generics - The new() constraint  (Unpublished)

Jon Skeet shares with us some interesting tidbits about the cost of new() with generics. While this isn't a problem most of the time, in scenarios where speed is a necessity, using a delegate provider is much faster than calling new() when working with generic types.


Kicked By:
Drop Kicked By: