String interning (WAS: SAX2/Java: Towards a final form)

David Megginson david at
Thu Jan 13 23:55:13 GMT 2000

"Clark C. Evans" <clark.evans at> writes:

>   ( lhs == rhs | lhs.equals(rhs) )

I think that the Java2 library does something close to this; however,
it's efficient only when the strings *are* identical, not when they're

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.

More information about the Xml-dev mailing list