sgmllib too slow

Fredrik Lundh fredrik at pythonware.com
Tue May 7 03:09:44 EDT 2002


Martin v. Loewis wrote:
>
> > 1. Rewriting the whole thing in C is out of the question.  Rewriting in
> > Java is a possibility, and easier than C - but not nearly as easy as
> > Python.
>
> Not sure what "the whole thing" is, but Fredrik Lundh has rewritten
> sgmllib as a C module, named sgmlop. This is now included regularly in
> PyXML, as xml.parsers.sgmlop. It has two modes of operation: SGML and
> XML, and it is really fast.

also available as a separate distribution, from here:

    http://effbot.org/downloads/

</F>






More information about the Python-list mailing list