mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Comment about performance in bus cache lookups
This commit is contained in:
@@ -481,6 +481,9 @@ class Vst3PluginProxyImpl : public Vst3PluginProxy {
|
|||||||
* @see processing_bus_cache
|
* @see processing_bus_cache
|
||||||
*/
|
*/
|
||||||
struct BusInfoCache {
|
struct BusInfoCache {
|
||||||
|
// `std::unordered_map` would be better here, but tuples aren't hashable
|
||||||
|
// out of the box and the difference in performance won't be noticeable
|
||||||
|
// enough to warrent the effort.
|
||||||
std::map<
|
std::map<
|
||||||
std::tuple<Steinberg::Vst::MediaType, Steinberg::Vst::BusDirection>,
|
std::tuple<Steinberg::Vst::MediaType, Steinberg::Vst::BusDirection>,
|
||||||
int32>
|
int32>
|
||||||
|
|||||||
Reference in New Issue
Block a user