[Python-Dev] Performance of various marshallers

Paul Prescod paul@ActiveState.com
Tue, 02 Oct 2001 15:19:05 -0700


Fredrik Lundh wrote:
> 
>...
> 
> the _xmlrpclib accelerator (see the xmlrpclib.py source) uses expat,
> with a really fast C layer.  judging from Skip's benchmarks, expat is a
> bit slower than the py-xmlrpc parser (which is why I asked).

I have a feeling py-xmlrpc will slow down a bit when it is
internationalized:

	if (strncmp(*cp, "<int>", 5) == 0)
		res = decodeInt(cp, ep, lines);
	else if (strncmp(*cp, "<i4>", 4) == 0)
		res = decodeI4(cp, ep, lines);
   ....

 Paul Prescod