String concatenation - which is the fastest way ?

przemolicc at przemolicc at
Wed Aug 10 13:17:54 CEST 2011


I'd like to write a python (2.6/2.7) script which connects to database, fetches
hundreds of thousands of rows, concat them (basically: create XML)
and then put the result into another table. Do I have any choice
regarding string concatenation in Python from the performance point of view ?
Since the number of rows is big I'd like to use the fastest possible library
(if there is any choice). Can you recommend me something ?

Przemyslaw Bak (przemol)

Znajdz samochod idealny dla siebie!
Szukaj >>

More information about the Python-list mailing list