Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120000 Support semantic highlighting in QML language server
  3. QTBUG-124770

Do benchmark analysis which container to use in highlighting

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.9
    • None
    • None

    Description

      Do we really need to use a sorted container i.e QMap<int, Token> ?

      For now, this was the choice to prevent relatively expensive semantic analysis for ScriptIdentifierExpression if the highlighted token container already added its highlights in another dom element visit.

       

      Investigate if we can just use std::vector<Token> with std::sort and std::unique pattern just before encoding the tokens.

      Attachments

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

        Activity

          People

            semih.yavuz Semih Yavuz
            semih.yavuz Semih Yavuz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes