When "Activator" is just to slow

added by JoeGeeky
3/21/2010 6:00:00 AM

687 Views

Nice performance tip


1 comments

aloysius422
3/25/2011 4:47:38 PM
Well, I tried it, and got very different results trying to instantiate 10,000 objects.

Enter number: 10000
Normal construction: 0 ms
Activator-based construction with cast: 3 ms
Generic activator-based construction: 24 ms
Expression-based construction 1693 ms
Done.