Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.2.2
-
None
Description
This is the stacktrace:
It takes ages when I try to do set difference with - operator, when sets have around 10000 items both. It spends ages in 1+2 functions of stacktrace.
Same code works 100000x faster with Qt 5.
1 QHashPrivate::Data<QHashPrivate::Node<QString, QHashDummyValue>>::erase qhash.h 664 0x7ffff7797e35 2 QHash<QString, QHashDummyValue>::remove qhash.h 885 0x7ffff7797b54 3 QSet<QString>::remove qset.h 99 0x7ffff779753d 4 QSet<QString>::subtract qset.h 317 0x7ffff779737f 5 QSet<QString>::operator-= qset.h 226 0x7ffff778c8e1 6 QSet<QString>::operator- qset.h 235 0x7ffff7846a69
Attachments
Issue Links
- duplicates
-
QTBUG-91739 Performance regression on QHash::insert() and QHash::remove()
-
- Closed
-