View Single Post
Old 11-11-2013, 10:43 AM   #36
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
Hi AcidWeb,
No problems. I am sure Paul will be able to speed things up. The original code was not written for speed so I am sure merging the graphics sections into one block or something along those lines should help as it is the allocation and deallocation of long strings that really hurts python performance. Thus the trick of appending segments of strings to a list and then joining the list once at the end so python will only allocate the space needed for the entire block once and won't be allocating and deallocating blocks as every concatenation is done.

Take care,

KevinH




Good luck
KevinH is offline   Reply With Quote