Re: [xml-dev] Using XML (or JSON) for inter-thread communication

From
Michael Kay <>
To
Date
2012-03-19T17:43:49Z
ID
<>
Thread
Re: [xml-dev] Using XML (or JSON) for inter-thread communication
> I assume that under some circumstances it's possible to generate a 
> number of fragments of an output document in parallel and then merge 
> the fragments at the end of the operation.  If so, is XSLT 
> functionalism sufficient to do that automatically, or would some 
> external programmer input be required to implement that?
>
>
Initially we're taking a cautious approach: using multithreading 
automatically where we're pretty confident it will usually give a 
benefit (xsl:result-document, fn:collection()) and allowing it to be 
invoked manually in cases where we think it's likely to incur more cost 
than benefit in a significant number of cases (xsl:for-each, 
xsl:apply-templates). Hopefully the decision-making will become more 
sophisticated as we gain experience and gather user feedback.

Michael Kay
Saxonica