cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@us.ibm.com>
Subject Re: ThreadSafe Parser
Date Wed, 31 Oct 2001 12:51:20 GMT
Sylvain Wallez wrote:
>
> According to the JAXP spec, small synchronized blocks around calls to
> SAXParserFactory.newSAXParser() and
> DocumentBuilderFactory.newDocumentBuilder() should to the trick. This is
> faster than pooling that involves much more code, including some
> synchronized blocks.

My experience has been that pooling is considerably faster, at least with
Xerces1.

- Sam Ruby


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message