Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7523

QScriptValue constructors that take a QScriptEngine* are faster than the "standard" constructors

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • 4.8.x
    • None
    • Qt Script
    • None

      The QScriptValue(QScriptEngine*, ...) constructors are obsoleted in favor of the more convenient constructors that take only a value; however, using the convenience constructors comes at a performance cost, since QScriptValue internally has to do more work in lazily binding the value to an engine later.
      Either this performance issue should be fixed, or the constructors should be un-obsoleted, and the documentation should mention that these constructors are less convenient but give better performance.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kenthans Kent Hansen (Inactive)
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes