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

Issue 2815303002: Improve performance of base::ListValue::Append* (Closed)

Created:
3 years, 8 months ago by jdoerrie
Modified:
3 years, 8 months ago
Reviewers:
brettw
CC:
chromium-reviews, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve performance of base::ListValue::Append* base::ListValue's underlying storage recently switched to value semantics, however this is not yet completely reflected in the implementation of its API. This change fixes this by updating the convenience variants of Append to directly write to the underlying storage. This is likely to improve performance due to the removal of temporary unique_ptrs. R=brettw@chromium.org BUG=646113 Review-Url: https://codereview.chromium.org/2815303002 Cr-Commit-Position: refs/heads/master@{#465193} Committed: https://chromium.googlesource.com/chromium/src/+/1652c0cc691916d61dc15f498e6af183e1237f0d

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -21 lines) Patch
M base/values.cc View 1 2 chunks +15 lines, -21 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
jdoerrie
Hi Brett, please review. These APIs will be deprecated soon, but they should be as ...
3 years, 8 months ago (2017-04-13 12:02:00 UTC) #5
brettw
lgtm
3 years, 8 months ago (2017-04-14 18:11:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2815303002/20001
3 years, 8 months ago (2017-04-18 08:55:26 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 10:02:22 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1652c0cc691916d61dc15f498e6a...

Powered by Google App Engine
This is Rietveld 408576698