Hi Thorsten,

On Sat, Sep 24, 2005 at 23:18:24 +0200, Thorsten Behrens wrote:

> hm. I'd profile a larger test case beforehand - spirit is a recursive
> parser vs. yacc being table-driven.

A valid concern. IMHO yacc _will_ be faster anyway, the question is just
how much, and whether spirit would be suitable at all. And whether
developing yet another parser is worth it. As there are many XML
parsers already available, what about eXpat, for example? It is used by
Mozilla, Perl, Python, and is said to be very fast.
http://expat.sourceforge.net/
Btw, the developer of eXpat is James Clark, who is a very active member
of the Thai OOo community, he might be able to tell us whether eXpat
would feasible for fast ODF parsing.

Other parsers: http://www.xml.com/pub/rg/XML_Parsers

> But OTOH, maybe contemporary
> optimizers are able to compensate for that. And I'd definitely bump
> our boost to 1.33, then - spirit (and lots of other stuff) has been
> improved a lot.

As we're talking about an OOo3.0 target, I guess, I see no problem with
this.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter bedevilled I18N transpositionizer.
 GnuPG key 0x293C05FD:  997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to