1
Vote

Possable performance issue

description

There is possably an performance issue reletad to exponential grows of TypeBuilder creation time dew to naming conflicts check.
You should construct types only once per parameter set. Consider caching constructed types inside static fields or dictionary, like it done in all samples.
 
 
See https://connect.microsoft.com/VisualStudio/feedback/details/472622/severe-performance-decrease-when-generating-many-types-into-an-assemblybuilder for details.

comments