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

Extend QHash, QSet to have an insert function that takes the hash code.

XMLWordPrintable

      This means that in a multi-threaded application where several threads accesses a shared QHash object, you can compute the hash code without holding a lock on the container.

      But there are ~15 functions that takes a key, so if we overload all of them this means a lot of new overloads. Perhaps it is better to create a thread-safe hash class (Which we one day might implement as a lock-free hash

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

            sorvig Morten Sørvig
            sorvig Morten Sørvig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes