Performance of compiled-to-delegate Expression

前端 未结 5 674
無奈伤痛
無奈伤痛 2020-12-02 10:07

I\'m generating an expression tree that maps properties from a source object to a destination object, that is then compiled to a Func

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 10:52

    Check these links to see what happens when you compile your LambdaExpression (and yes, it is done using Reflection)

    1. http://msdn.microsoft.com/en-us/magazine/cc163759.aspx#S3
    2. http://blogs.msdn.com/b/ericgu/archive/2004/03/19/92911.aspx

提交回复
热议问题