force GCCollect, good practice?

BlitzMax Forums/BlitzMax Beginners Area/force GCCollect, good practice?

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.

To answer the original question in the topic: it is not good practice to force GC every loop like I've seen in some code. However, it might be a good idea before a very memory-intensive block of code that is only executed once.

Re, ziggy: No, it does not. The user guide warns about code like that.