OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • From: Lars Marius Garshol <larsga@garshol.priv.no>
  • To: xml-dev@ic.ac.uk
  • Date: 13 Jan 2000 09:52:04 +0100


* 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@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.






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS