QMap or QHash
Unsolved
QML and Qt Quick
-
Which is bettter of option to use between QMap or QHash? Or tell me condition where QMap / QHash is usefull.
-
QHash is faster when there is more than 8 elements in the container.
QMap is sorted so prefer it if you need ordered keys/ values. QML has better support for maps (QVariantMap and the like).
Other than that they are practically identical from user perspective.
-
QHash is faster when there is more than 8 elements in the container.
QMap is sorted so prefer it if you need ordered keys/ values. QML has better support for maps (QVariantMap and the like).
Other than that they are practically identical from user perspective.
@sierdzio thanks man
-
@sierdzio thanks man