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

Make QScriptEngine::importExtension() more efficient

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • Some future release
    • 4.3.0
    • Qt Script
    • None

      The importExtension() function is a little inefficient.
      It loads every script plugin and queries each one for the imported extension
      name. Would it be possible to modify this to first try the "obvious" plugin
      based on the name of the extension, and only fall back to a full scan if it
      isn't found? Loading every script plugin on a Qtopia handset would be
      expensive if the program only needs to use PIM or Telephony settings.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes