On 6/24/06, peter royal <[EMAIL PROTECTED]> wrote:
On Jun 23, 2006, at 10:01 AM, Henrik Ă˜sterlund Gram wrote: > I'm pretty sure Object serialization is faster than custom parsing > more times than not - just beware you are not serializing/sending > more data than necessary. It's just that in a heterogeneous > environment, Object serialization is generally not an option. If you do use serialization, be sure to implement the optional methods to avoid the cost of reflection.
Exactly. I recommend you to implement Externalizable interface which outperforms Serializable. But there's also trade-off. :) Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP key fingerprints: * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6
