View Full Version : QQueue vs STL queue
Lele
8th November 2007, 10:37
Hi,
has someone ever compared the performance of the two queues?
Do you think it's worh investigating or I can expect the same performance?
thanks in advance
bye
jpn
8th November 2007, 12:28
Unfortunately, I don't have any exact results on their performance, but the fact that QQueue is an implicitly shared class (http://doc.trolltech.com/latest/shared.html) can have some serious impact on overall performance in real life applications... ;)
wysota
8th November 2007, 16:31
QQueue is a QList which is a bit smarter than the stl list in most cases, so at least in some situations I expect it to be much faster than the STL implementation.
pherthyl
8th November 2007, 17:35
Have a look at the benchmarks here: http://www.folding-hyperspace.com/program_tip_14.htm
The list comparison is telling. Qt is very fast here.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.