mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +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
|
||||
*/
|
||||
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::tuple<Steinberg::Vst::MediaType, Steinberg::Vst::BusDirection>,
|
||||
int32>
|
||||
|
||||
Reference in New Issue
Block a user