[infinispan-dev] First version of JBoss Marshalling based Marshaller
David M. Lloyd
david.lloyd at redhat.com
Fri Apr 10 10:24:58 EDT 2009
On 04/10/2009 06:43 AM, Galder Zamarreno wrote:
> - For Beta1, I'd like David to have a look at what I've done and see if
> he can review it...
Regarding externalizers - they are potentially slightly faster than
Externalizable due to the fact that reflection is not needed to construct
the instance. But, I'll leave the proof of that to the benchmarks. :-)
Also, org.infinispan.marshall.jboss.ExternalizerClassFactory#EXTERNALIZERS
is a Map<String, String> so you don't want to use a WeakHashMap.
Otherwise it looks correct from a JBoss Marshalling perspective. Moving
from Object*Stream to ObjectInput/Output where you can is a smart move in
my opinion.
- DML
More information about the infinispan-dev
mailing list