mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 05:33:07 +02:00
Use unordered maps for VST3 plugin instances
The better algorithmic time complexity should help when using many (say, hundreds) of instances of a single VST3 plugin.
This commit is contained in:
@@ -440,7 +440,7 @@ class Vst3Bridge : public HostBridge {
|
||||
* will cause all pointers to it to get dropped and the object to be cleaned
|
||||
* up.
|
||||
*/
|
||||
std::map<size_t, InstanceInterfaces> object_instances;
|
||||
std::unordered_map<size_t, InstanceInterfaces> object_instances;
|
||||
std::mutex object_instances_mutex;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user