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

FindChild<>() and findChildren<>() can be better

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • None
    • Core: Object Model
    • None

    Description

      I  do believe it would be far better to improve the findChild<>() and findChildren<>() algorithms. These two functions' time complexities are mostly sure the bottleneck of the programs. I suppose you to use a hash table to improve these. Each time an object is created, store its name and address to the hash table, I know maybe it is not straight forward as I said, but these two functions are really annoying.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            hosh0425 hossein sheikhi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes