Just released a (yet another) open source object-object mapper on Github
I've been working on this tiny lib for a while now, and finally decided to open-source it.
It's a very simple object-2-object mapper that "shallow copies" properties between objects.
The reason to create a yet another mapper is SPEED. Most of the existing projects in this area (including the famous AutoMapper) rely on Reflection, I decided to use expression trees that are compiled later. So you get that first initial overhead of property enumeration (still pretty fast) but then the code is literally as fast as "manual" property-by-property assignment (because it is).
It's very basic ATM, still working on Nuget and unit tests.
Anyway, here's the link: https://jitbit.github.io/PropMapper/ give it a try! Thanks.
0 comments:
Post a Comment