|
From: | Chris Burdess |
Subject: | Re: [cp-patches] Patch: RFA: QName serialization |
Date: | Tue, 20 Sep 2005 07:04:00 +0100 |
Tom Tromey wrote:
This updates QName to be Serializable as required by 1.5. As part of this, I changed the qName field to be computed lazily, so that it would work properly with serialization without requiring a readObject method. Any comments? Is this ok? This isn't really my area so I didn't want to simply commit this change.
That's OK, as long as hashCode and qName are only computed once as you're doing. QNames are often used repeatedly in transformation and XPath processing and need to be implemented efficiently.
-- Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin
[Prev in Thread] | Current Thread | [Next in Thread] |