summaryrefslogtreecommitdiff
path: root/libs/ardour/delayline.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-24 18:24:06 +0200
committerRobin Gareus <robin@gareus.org>2016-04-24 18:26:39 +0200
commitd1874d4685e2047b5d44e07773c4e339883af0bb (patch)
tree3ff8964594e694453c7f2e1ade69fd7bb8e95319 /libs/ardour/delayline.cc
parent1321701189e162a72ca0f52d10ac01d1f29619c4 (diff)
optimize port lookup, adding/removing/reconnecting routes
xxxAudioBackend::connected_to() is called O(N^2) when building the graph. Mitigate this by using an O(log(N)) lookup. This duplicates the storage (both set and map and both are kept in sync. Changing this to a boost:bidirectional might be nice, before updating other backends.
Diffstat (limited to 'libs/ardour/delayline.cc')
0 files changed, 0 insertions, 0 deletions