[Kstars-devel] Improving startup performance?

Alexander Potashev aspotashev at gmail.com
Thu Jun 2 09:51:03 UTC 2016


2016-06-02 0:24 GMT+03:00 Jasem Mutlaq <mutlaqja at ikarustech.com>:
> Hello,
>
> Can we use QSet<QString> instead of QStringList to store the object names?
> Is the performance better than a QStringList? Any caveats?

Hi Jasem,

Search by (lookup for) value in QSet is faster than in QStringList. If
you don't need to search by object name, there is no reason to use
QSet.

-- 
Alexander Potashev


More information about the Kstars-devel mailing list