Optimization and Generics - The new() constraint(msmvps.com)
submitted by
dpeterson(4397) 9 months, 2 days ago
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.
|category: C#
|Views: 29
tags:
C# another
Everyones tags:
Your Tags: