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

Issue 2078873005: rtc::Buffer: Grow capacity by at least 1.5x to prevent quadratic behavior (Closed)

Created:
4 years, 6 months ago by kwiberg-webrtc
Modified:
4 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

rtc::Buffer: Grow capacity by at least 1.5x to prevent quadratic behavior BUG=webrtc:6009 Committed: https://crrev.com/c853597598198f2d4e57abaaa127d16fe5611410 Cr-Commit-Position: refs/heads/master@{#13214}

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -12 lines) Patch
M webrtc/base/buffer.h View 4 chunks +26 lines, -10 lines 6 comments Download
M webrtc/base/buffer_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
kwiberg-webrtc
4 years, 6 months ago (2016-06-18 09:42:54 UTC) #2
sprang_webrtc
https://codereview.webrtc.org/2078873005/diff/1/webrtc/base/buffer.h File webrtc/base/buffer.h (right): https://codereview.webrtc.org/2078873005/diff/1/webrtc/base/buffer.h#newcode275 webrtc/base/buffer.h:275: EnsureCapacityWithHeadroom(size, true); Do we really want with headroom here, ...
4 years, 6 months ago (2016-06-20 09:27:44 UTC) #3
kwiberg-webrtc
https://codereview.webrtc.org/2078873005/diff/1/webrtc/base/buffer.h File webrtc/base/buffer.h (right): https://codereview.webrtc.org/2078873005/diff/1/webrtc/base/buffer.h#newcode275 webrtc/base/buffer.h:275: EnsureCapacityWithHeadroom(size, true); On 2016/06/20 09:27:44, språng wrote: > Do ...
4 years, 6 months ago (2016-06-20 09:51:31 UTC) #4
sprang_webrtc
lgtm https://codereview.webrtc.org/2078873005/diff/1/webrtc/base/buffer.h File webrtc/base/buffer.h (right): https://codereview.webrtc.org/2078873005/diff/1/webrtc/base/buffer.h#newcode275 webrtc/base/buffer.h:275: EnsureCapacityWithHeadroom(size, true); On 2016/06/20 09:51:31, kwiberg-webrtc wrote: > ...
4 years, 6 months ago (2016-06-20 09:56:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2078873005/1
4 years, 6 months ago (2016-06-20 10:32:03 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-20 11:47:43 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 11:47:50 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c853597598198f2d4e57abaaa127d16fe5611410
Cr-Commit-Position: refs/heads/master@{#13214}

Powered by Google App Engine
This is Rietveld 408576698