36

基于 asm 实现比 spring BeanUtils 性能更好的属性拷贝框架-叶止水的博客

 4 years ago
source link: https://blog.51cto.com/9250070/2459429
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Bean-Mapping日常开发中经常需要将一个对象的属性,赋值到另一个对象中。常见的工具有很多,但都多少不够简洁,要么不够强大。我们经常使用的SpringBeanUtils性能较好,但是特性不足。Bean-Mapping提供了很多丰富的特性,便于日常开发。如果你追求更加极致的性能,可以考虑使用asm实现的模块,该实现性能优于springBeanUtils35%左右。特性支持对象属性的浅拷贝支持不

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK