Help optimize a script?

David Bolen db3l at fitlinxx.com
Wed Oct 17 18:51:17 EDT 2001


Joseph Santaniello <joseph at arbitrary.org> writes:

> After compling 2.1.1 for HP-UX so I would have access to the join() method
> of sting, I started to wonder how much of this speed increase (if any) is
> from just using 2.1.1 over 1.5.2 ?  Any ideas?

Probably not too much if at all.  But just go back to string.join()
and run the same code under 1.5.2 and test it yourself.  The string
methods are perhaps clearer (although join is a particularly debated
one), but shouldn't change much in terms of performance.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list