QMap iterator Bug??
Solved
General and Desktop
-
@KroMignon said in QMap iterator Bug??:
@JoeCFD said in QMap iterator Bug??:
I believe std containers may be better optimized than Qt containers in most cases.
Not according to this benchmark done by woboq => https://woboq.com/blog/qmap_qhash_benchmark.html <=== done in 2012 ages old.
or this stackoverflow entry => https://stackoverflow.com/questions/1668259/stl-or-qt-containers read comments: 35@JoeCFD When you're at the point where you really need to worry about a speed difference between those implementations you should write your own implementation of the problematic container. You will never notice if a running program is using c++ or Qt or boost or whatever containers.