Skip to content

FastReflectionLib provide the same as part of the refection features like executing method dynamically but give simple and faster implementations. It can be use as the foundation of reflection-based scenarios such as ORM framework.

License

Notifications You must be signed in to change notification settings

liyg02/FastReflectionLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

最近在学习反射的知识,于是发现了这个类库,这个类库通过Expression Tree来创建反射调用,旨在提高运行效率。生成反射的调用又多种方法:委托CodeDemo接口EmitExpression Treedynamic,作者选择使用Expression Tree来生成反射的调用一定有他的道理,经过测试也验证Expressioin Tree确实是一种高效的办法 (测试结果:直接调用 >= 委托 >= 接口调用 > Expression Tree >= Emit > Invoke) ,本人才疏学浅,无法做出准确性的判断,于是选择相信该类库的作者,毕竟该作者在.net领域还是很权威的。

类库简介

这个类库是一个轻量级反射类库,旨在提供通用的、高效的生成反射调用的方法,这个类库 fork from Fast Reflection Library 1.0 Beta,作者为Jeffrey Zhao

目标

该类库作者至2009年以来已经停止了版本的维护,接下来我准备接手继续开发,最终目标将打造一款轻量级IOC框架,在这里提前预祝自己成功。

文档

中文文档地址

英文文档地址

About

FastReflectionLib provide the same as part of the refection features like executing method dynamically but give simple and faster implementations. It can be use as the foundation of reflection-based scenarios such as ORM framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages