Hi,
I am using wxPy 2515, Py 233 on Win98.
I have a 1000-row wx.Grid. I filled its rows and cleared
the whole grid repeatedly. After some cycles, the updating
of the grid slowed down. I did create/delete any
large variables of my own during each cycle.
I have the same slowed-down-after-some-usage experience
with the Python IDLE IDE. It seems to me that there
is something fishy about Python, not wxPython.
Is it due to garbage collection, unfreed memory, etc?
Anyone has any tips on speed optimization?
Thanks,
Steven.
Steven Pang wrote:
Hi,
I am using wxPy 2515, Py 233 on Win98.
I have a 1000-row wx.Grid. I filled its rows and cleared
the whole grid repeatedly. After some cycles, the updating
of the grid slowed down. I did create/delete any
large variables of my own during each cycle.
I have the same slowed-down-after-some-usage experience
with the Python IDLE IDE. It seems to me that there
is something fishy about Python, not wxPython.
Is it due to garbage collection, unfreed memory, etc?
Anyone has any tips on speed optimization?
Thanks,
Steven.
I've found using a profile the best approach here, then you can tell what is slowing it down.
There is a standard Python profiler or you can use psyco and turn on logging...
David
I have a 1000-row wx.Grid. I filled its rows and cleared
the whole grid repeatedly. After some cycles, the updating
of the grid slowed down. I did create/delete any
large variables of my own during each cycle.
Correction:
I did *NOT* create/delete any large variables of my own
during each cycle.
Thanks,
Steven.