ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-sig
xml-sig
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved