xmlrpclib: pyexpat.so vs. sgmlop.so

"Martin v. Löwis" martin at v.loewis.de
Sat Dec 21 17:08:06 EST 2002


Michael 'Mickey' Lauer wrote:
> When having PyXML installed, xmlrpclib uses pyexpat.so as
> its Parser. Since sgmlop.so is also included I'm wondering if
> using sgmlop wouldn't be faster for xmlrpc usage?

While this may be the case, it might also be less correct: sgmlop has a 
number of bugs, or, rather, i-don't-care-about-this-stuff things.

That said: If you are not satisfied with xmlrpc parsing speed, feel free 
to contribute patches for xmlprclib. Notice that xmlrpclib is in the 
core, so if you want to rely on things in PyXML, forking it for PyXML 
might be necessary.

Regards,
Martin




More information about the Python-list mailing list