When "Activator" is just to slow(www.smelser.net)
submitted by JoeGeeky(364) 2 years, 2 months ago
Nice performance tip
2 comments |category: C# |Views: 600 Tweet
tags: C# another
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
posted by aloysius422(1) 1 year, 2 months ago 0
Well, I tried it, and got very different results trying to instantiate 10,000 objects.Enter number: 10000Normal construction: 0 msActivator-based construction with cast: 3 msGeneric activator-based construction: 24 msExpression-based construction 1693 msDone.
Reply
All tags Your tags
Suggest a new category
dpeterson(1273)
Telerik(409)
fdub(381)
amit.jain(273)
BlackWasp(259)
RobertTheGrey(259)
jalpesh(252)
KodefuGuru(227)
KMillerr(226)
vijayst(223)