String interning (WAS: SAX2/Java: Towards a final form)
Lars Marius Garshol
larsga at garshol.priv.no
Thu Jan 13 08:52:09 GMT 2000
* Miles Sabin
|
| And I think you're assuming a single processor JVM. The
| synchronization overhead picture is *very* different on multi-
| processors.
* Tim Bray
|
| Well yeah, but this pre-intern string table is internal to the parser,
| and I think XML parsers are perforce single-threaded, because XML
| docs are. Or am I missing something?
The case where you have different threads parsing different documents?
The JVM interning table is shared, so...
--Lars M.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ 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