
11 Jun
2010
11 Jun
'10
2:34 p.m.
gc() is only useful if you need to reclaim huge objects before you allocate a new one. It can be a very expensive operation with many small objects, only works nicely with few big objects. Other than that, my recommendation is to never ever use it. -T Sofie Van Landeghem wrote:
Does anybody ever use it? I thought it'd speed up my program... instead it turned a 5 minute job into a 100 hour one :s
Sofie