I was looking for an object formatter and templater.
http://haacked.com/archive/2009/01/14/named-formats-redux.aspx
I looked into HenriFormatter and when check performance found that for the same object Type first invocation - causes 15x more time than for next - 15k ticks, second was around 1k. I become digg, and found that its using DataBinder.Eval, that uses reflection, and on some level looks like Type structure is caching.
In compare with the same String.Format that was around 50-100 ticks.
So I a wondering, what if instead of using DataBinder.Eval, we can Emit String.Format code and cache it, and get 8 times performance. But before do all this, I was interested if something was already done anywhere.