Hibernate implementation. Are we paying the reflection penalty?

后端 未结 5 2011
栀梦
栀梦 2021-01-06 01:51

Long time ago, I was creating a mini ORM using reflection.

While reading about reflection I got a similar answer like this:

Java Reflection Performance

5条回答
  •  情深已故
    2021-01-06 02:09

    You really pay the reflection penalty by using NHibernate but its extensibility allow you to avoid 90% of them if you provide all optimized reflection implementation via NHibernate.Bytecode.IBytecodeProvider.

提交回复
热议问题