[Interest] QMap<int64_t> significantly slower than QMap<int32_t>
Philippe
philwave at gmail.com
Mon Sep 23 12:28:18 CEST 2013
I was told the QMap implementation was changed from Qt 4 to 5, to improve performances... I guess some other tests give different results?...
Philippe
On Mon, 23 Sep 2013 15:15:37 +0530
Mandeep Sandhu <mandeepsandhu.chd at gmail.com> wrote:
> Actually, everything's a little slower with Qt5. Is C++11 enabled by default? Could that be the cause of degraded performance?
>>
>>
>>
>> Qt 5 uses RB tree in QMap
Ah! That explains similar performance of QMap with std::map (though iteration is slower than std::map).
But why was RB tree used when it doesn't as well as the previous skiplist based impl?
-mandeep
>
> --
> Regards,
> Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130923/a003ae8d/attachment.html>
More information about the Interest
mailing list