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
|