Josh Rehman wrote:

> Hmm. Cglib is neat, but reflection is so fast that I would spend my time
> elsewhere, for example adding support for a typesafe-enum representation
> of lookup tables. :-)

Hibernate won't get much reflection speedup with CGLIB2, since it is already
using similar code in 1.0. The main benefits for Hibernate are:

 - Less classes created (memory/app server issue).
 - Ability for users to generate proxy classes offline, for faster startup.
 - Better debugging for reflection optimizer.
 - Transformation API.

Gavin, with the API changes it's probably quickest if I put a patch
together. Let me know when you want to do this and whether it should be
against HEAD or some branch. I would only recommend doing it if there is
going to be a 2.1beta5, since cglib is still in beta.

Chris




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to