Reflection : Dodge Common Performance Pitfalls to Craft Speedy Applications

Published 23 June 05 08:51 PM | ricom 

Joel Pobar has produced an excellent article on the costs of reflection that offers good insight into best practices.

Comments

# Stu Smith said on June 27, 2005 4:25 AM:
Why does new T() in a generic function use Activator.CreateInstance, if it's one of the slowest reflection calls? I know the idea is to share code where possible, but in those specific cases where a new object is created, wouldn't it be better to emit separate cases for each type?
New Comments to this post are disabled

Search

This Blog

Syndication

Page view tracker