Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Issue 2493733003: Optimize FindCodecById and ReferencedCodecsMatch (Closed)

Created:
4 years, 1 month ago by magjed_webrtc
Modified:
4 years, 1 month ago
Reviewers:
tommi
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Optimize 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -41 lines) Patch
M webrtc/api/webrtcsdp.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M webrtc/media/base/codec.h View 1 chunk +5 lines, -9 lines 0 comments Download
M webrtc/media/base/rtpdataengine.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/pc/mediasession.cc View 5 chunks +17 lines, -25 lines 0 comments Download
M webrtc/pc/mediasession_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (13 generated)
magjed_webrtc
tommi - please take a look.
4 years, 1 month ago (2016-11-10 21:31:36 UTC) #11
tommi
lgtm
4 years, 1 month ago (2016-11-11 09:46:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2493733003/20001
4 years, 1 month ago (2016-11-11 11:58:43 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 1 month ago (2016-11-11 12:00:20 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 12:00:24 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b05fa2466a21ad0dfb4c750ebbb260675bce592f
Cr-Commit-Position: refs/heads/master@{#15040}

Powered by Google App Engine
This is Rietveld 408576698