Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using QScriptEngine many times

Using QScriptEngine many times

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    niki4321
    wrote on 23 Nov 2011, 13:10 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      niki4321
      wrote on 24 Nov 2011, 11:50 last edited by
      #2

      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 Reply Last reply
      0

      1/2

      23 Nov 2011, 13:10

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved