Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-4

removeParent() performs very poorly when a parent has >10000 items

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 1.2.x
    • Shiboken
    • None
    • I8950416b743f99c3646a89640a1ac35c4c4362a1

    Description

      Children lists currently use QLists which perform terribly when the parent has many children - O instead of O(1).

      Fix: ChildrenList should be made std::set instead of std::list, and the respective insert operation should be fixed. Affects files libshiboken/basewrapper.cpp, libshiboken/basewrapper_p.h.

      Attachments

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

        Activity

          People

            hugopl Hugo Parente Lima
            mairas Matti Airas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes