0
comment
comment
on 7/28/2014 2:00 PM
While writing Seekwell there were several ideas that came and went trying to optimize the deserialization from IDataReader to IEnumerable<T>. The minimum viable product was to simply use reflection. That of course was slow so we cached as much of the reflection as we could.
What if we created a deserializer that would write code to do the deserialization for a given type?
The .net framework has several ways of essentially compiling code at runtime. Microsoft.CSharp.CSharpCodeProvider and System.Reflec[...]