Slow down question

BlitzMax Forums/BlitzMax Beginners Area/Slow down question

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

My program has begun to get slower, just by running. It drops from 60fps to around 40 fps in 50 seconds of running. I cant think of any serious operations i've added to it, and I cant place exactly when this slowdown happened. One thing I did, was switch what was a 400 item array over to a TList, which gets this done to it alot (but not more than the array did)

for i:foodpellet = eachIn foodlist
'stuff
next


any ideas as to whether that slows me down, or what else might be causing a fairly consistent slowdown over time? foodlist is staying about the same size as I run, but for some reason, the longer it runs the slower it gets.