Friday, December 15, 2006

* Dynamic Binding : Performance Optimization Tip

Here is a tip to optimize your dynamic binding involving Assembly.Load.

Instead of executing Assembly.Load every everytime in the loop, if Assembly is loaded globally once and reference is used thereafter there is a huge performance gain.

The new time taken is 2 min 10 sec for test in my previous post.

1 comment:

  1. Yes, but how to load assembly glogally once at run time? :)