HyperDescriptor: Accelerated dynamic property access

October 10th, 2008

Marc Gravell plays some neat tricks to accelerate DataBinding code:

.NET provides flexible data-binding and runtime property access, but by default this is via reflection an is known to be relatively slow. This article uses the power of Reflection.Emit to provide a pre-compiled (and much accelerated) implementation for reflection properties, and demonstrates the use of TypeDescriptionProvider to dynamically apply this implementation to types.

Source & article here

Comments are closed.