mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
Use QHash as the order is not important
This decreases the runtime of decQidState by 10%.
This commit is contained in:
parent
3662214f68
commit
9898d6987c
@ -45,9 +45,9 @@ private:
|
||||
QList< Resolver* > resolvers;
|
||||
QList< QPointer<Tomahawk::ExternalResolver> > scriptResolvers;
|
||||
QList< ResolverFactoryFunc > resolverFactories;
|
||||
QMultiMap< QID, Tomahawk::Resolver* > qidsState;
|
||||
QMap< QID, query_ptr > qids;
|
||||
QMap< RID, result_ptr > rids;
|
||||
QMultiHash< QID, Tomahawk::Resolver* > qidsState;
|
||||
QHash< QID, query_ptr > qids;
|
||||
QHash< RID, result_ptr > rids;
|
||||
|
||||
QMutex mut; // for m_qids, m_rids
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user