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

Optimize qsTr

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • None
    • Qt Script
    • None
    • afb54fe253ded94152575b23539552aa8f4ad384

    Description

      Benchmarks have been added to tests/benchmarks/qscriptengine.

      Times on the N900:

      • 0.199 (no translation)
      • 0.472 (qsTranslate)
      • 0.5500 (qsTr)

      As qsTr is probably the most commonly used, it should ideally be at least as fast as qsTranslate. (ideally both could be further optimized as well)

      Attachments

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

        Activity

          People

            kenthans Kent Hansen (Inactive)
            brasser Michael Brasser (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes