Jul-21-2020, 06:38 AM
(Jul-20-2020, 06:25 PM)deanhystad Wrote: I shaved a whole 3% off by using Canvas.itemconfig to set the rectangle color instead of deleting all the rectangles
Thanks for your efforts. Any improvement is significant because i view this from the
perspective of many inerations (steps). I will look into the "item-config", which i did not know of.
Your remark about the cells being objects, put me on the trace of another possible improvement.
If i can determine the predominant color beforehand, i don't need to create those objects,
if the canvas is that color already.
If all that is not satisfactory, maybe pygame will come into the picture, which i never used before.
thx,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.