title: Slow Type Creation in System.Reflection.Emit
body: <p>I'm working on a project that requires heavy use of System.Reflection.Emit to emit a compiled version of the source code, however, I have noticed a slowness when I go to emit the entire thing (I've only been emitting part of it for testing). Namely, calling the "TypeBuilder.CreateType()" method for 946 types takes over 75 seconds, I would partially chalk this up to the sheer volume of data I'm emitting, it's a 3.01mb dll which expands to a 60mb file when decompiled with ILDasm.</p>
  
  <p>Now, the rest of the emitting process for this data only takes about 40 seconds total, (and those 40 seconds include emitting quite a bit of debug data) so I'm wondering why this lone method takes so much time. Does anyone know? And are there any ways I can decrease this time?</p>