[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Running the same transformation on many input files, optimisation possible?
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 Dec 2019 22:35:21 -0000
> Note that there's a double overhead here: firstly you're bringing up a
new Java VM for each transformation,
> and secondly you're recompiling the stylesheet for each transformation.

Isn't the meaning of the
*    "cache" : true()*

key-value pair in the $*options *argument of `fn:transform()` exactly to
compile the stylesheet only once and to reuse the compiled result on any
time in the future the same stylesheet node or stylesheet text is passed?

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member