Re: libxslt speed (was Re: jrb help: XML & HTML)
- From: Alexander Kirillov <kirillov math sunysb edu>
- To: gnome-doc-list gnome org
- Subject: Re: libxslt speed (was Re: jrb help: XML & HTML)
- Date: Fri, 7 Sep 2001 10:08:39 -0400
Wow - and even more so if I compare this to emacs psgml mode which
taks several seconds to parse DTD. Maybe we should rewrite psgml mode
to use libxml :)
Anyway: I am now convinced and withdraw my suggestion to ship both XML
and HTML. 1 second is not worth it.
Sasha
On Thu, Sep 06, 2001 at 06:48:05PM -0600, John Fleck wrote:
> On Thu, Sep 06, 2001 at 01:54:12PM -0400, Daniel Veillard wrote:
> > On Thu, Sep 06, 2001 at 10:41:35AM -0700, Gregory Leblanc wrote:
> > > Would it be possible to write this parsed DTD to disk? Emacs psgml does
> > > this, although it only works on a per-document basis, which wouldn't
> > > help us that much.
> >
> > Hum, ....
> >
> > there is a private API
> > static void
> > xmlDtdDumpOutput(xmlOutputBufferPtr buf, xmlDtdPtr dtd, const char *encoding);
> > which allows this, this is not exported. The main probalem as always
> > is that if someone change something in the internal subset, the DTD might not
> > be correct anymore, but the risk is relatively small for our documents.
> >
>
> This is a clever idea, but I'm not sure it's worth the trouble. The
> parsing time (if you use catalogs and load the DTD from the local
> disk, which we do) is less than 0.1 sec. If we're trying to shave
> every ounce off of the frame for performance, maybe, but the real time
> is spent actually applying the stylesheet, not in parsing the doc or
> the stylesheet.
>
> Cheers,
> --
> John Fleck
> jfleck inkstain net (h), http://www.inkstain.net/fleck/
>
> _______________________________________________
> gnome-doc-list mailing list
> gnome-doc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-doc-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]