Re: [xml] Release of libxml2-2.6.26



On Fri, Jun 09, 2006 at 05:16:00PM +0200, Buchcik, Kasimier wrote:
Tip: Try to reuse the xmlXPathContext as much as possible; 
Jerome Pesenti noticed that in Libxslt, massive creation/freeing of this
context struct is a bottleneck during the compilation of stylesheets.
That's why it is kept now for reusal on the compilation context in the
refactored code of Libxslt.

  Well that wasn't a concern to me, in all cases I could find, the
time to compile the stylesheets where minimal compared to the actual 
transforms, and for big stylesheets you should reuse them when transforming
multiple small documents.
  Maybe DocBook/TEI like stylesheets are changing that balance.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]