jython and concatenation of strings

Jan Gregor gregor.jan at NOSPAMquick.cz
Mon Dec 13 16:56:31 CET 2004


Hello
 
 I found that price of += operator on string is too high in jython. For
 example 5000 such operations took 90 seconds (i generated html copy of
 table with 1000 rows and 5 columns). Generation of row data into separate
 string and joining after lead to time 13 seconds !!!

 What's alternative way to do that ? (similiar parts of my code are terribbly
 slow and such simple solution as above didn't help).


Thanks,
Jan



More information about the Python-list mailing list