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@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to