[XML-SIG] Re: Re: Re: cElementTree 0.8 (january 11, 2005)
by Fredrik Lundh other posts by this author
Jan 14 2005 2:43AM messages near this date
[XML-SIG] ANN: cElementTree 0.9.2 (january 15, 2005)
|
Re: [XML-SIG] Re: Re: Re: cElementTree 0.8 (january 11, 2005)
& XSLT Daniel Veillard wrote:
> Seriously, with respect to performances one of the trouble I have seen when
> doing a bit of profiling is that interning strings, i.e. the process of
> taking string coming from C and turning them into Python string objects,
> to be extremely costly, I don't know if it's the hash function or the way
> the string hash works but it was one of the biggest cost when I tried
> (with python 2.3 or 2.2 I can't remember precisely when it was).
in python, conversion and interning and hash calculations are three different
things, so I'm not sure what your problem really was. but I'm curious. can
you elaborate?
</F>
_______________________________________________
XML-SIG maillist - XML-SIG@[...].org
http://mail.python.org/mailman/listinfo/xml-sig
Thread:
Fredrik Lundh
Daniel Veillard
Martijn Faassen
|