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
Forum Updated to NodeBB v4.3 + New Features

Using QScriptEngine many times

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.6k Views 1 Watching
  • 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 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 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

      • Login

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