Thanks for the info. Yes, I tried that, and it is indeed much faster
than reflection but as mentioned in another post here in this group
[http://groups.google.com/group/kryo-users/browse_thread/thread/
ebad155b1c5c0a27/ec3d66ea0d9bd2a2?
lnk=gst&q=Verification#ec3d66ea0d9bd2a2], when profiling the app the
ASM generated code results in a VerificationError being thrown at
class load time, which is unacceptable for production code.
I just wanted to mention that using com.sun.Unsafe (for private
fields; or any other fields) for me is preferrable to both ASM (gives
VerificationError) and Reflection (is slow).
As soon as there's an issue I vote this one - 10x sounds definitely cool! :-)
Cheers,
Martin
>
> Thanks!
> -Nate
>
> --
> You received this message because you are subscribed to the "kryo-users"
> group.
> http://groups.google.com/group/kryo-users
--
Martin Grotzke
http://www.javakaffee.de/blog/