-----BEGIN PGP SIGNED MESSAGE-----
Thanks for the answer!
Michael Kay wrote:
> If you mean creating the JAXP Templates object (or the s9api
> once, and then using it repeatedly for multiple transformations, then the
> savings are very considerable: building the templates object for a
> complex stylesheet can often take 500ms, when running it to transform a
> small input document takes 2ms.
I experienced it. Initial build take 3000 ms (we have really complex
sheets) and then is quite immediate.
> But saving the compiled stylesheet to disk (as done by the
> command) has relatively little benefit, compared with re-creating it when
> needed from the original source code. I haven't measured it recently, but
> last time I did, it looked as if it really wasn't worth the trouble.
> However, this is obviously something that may depend on your own situation
> and I would encourage you to do your own measurements.
That was what I meant... I have to find other optimization possibilities...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----