DescriptionOptimize FindCodecById and ReferencedCodecsMatch
These functions currently copy cricket::Codec classes by value which is
expensive since they contain e.g. std::map<std::string, std::string>
containers with parameters. This CL avoids copying them altogether.
BUG=webrtc:6337
Committed: https://crrev.com/b05fa2466a21ad0dfb4c750ebbb260675bce592f
Cr-Commit-Position: refs/heads/master@{#15040}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 18 (13 generated)
|