jeudi 6 mars 2014

Re: script uses up all memory topic




Chris Angelico <(E-Mail Removed)>:

> Not all problems need to be solved perfectly :) But at very least, I
> would put a comment against your collect() call explaining what
> happens: that self.tools is involved in a refloop. Most Python code
> shouldn't have to call gc.collect(), so it's worth explaining why you
> are here.


Refloops also are nothing to be avoided. Let GC do its job and forget
about it.


Marko





Aucun commentaire:

Enregistrer un commentaire