Using QScriptEngine many times
-
wrote on 23 Nov 2011, 13:10 last edited by
Hi,
I wrote a script that is invoked many times. Each time it runs slower and slower. Why is this and how to overcome it?
-
wrote on 24 Nov 2011, 11:50 last edited by
Time spent on the command like this:
@
var ob = new my_object ();
@
I believe that the problem connected with accumulation of garbage, but an explicit call of the garbage collector does not help.Edit: please 1) use @ tags around code sections, and 2) use the edit link to add new information rather than posting another message; Andre
1/2