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

Make QScriptEngine::importExtension() more efficient

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes