[USS] Remove intermediate structure during GetAllSyncMetadata |
||
Issue descriptionAdd following function into MetadataBatch bool MetadataBatch:::AddSerializedMetadata(const std::string& key, const std::string& serialized_metadata) Currently, populate metadata from database into MetadataBatch use too many memory since we use an intermediate structure in between the database and the MetadataBatch. Adding this function can reduce memory usage and save time during this process.
,
Mar 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d6b104cb86ef80a415014191e2f10b6e0dbd501b commit d6b104cb86ef80a415014191e2f10b6e0dbd501b Author: gangwu <gangwu@chromium.org> Date: Thu Mar 23 22:25:01 2017 [USS] Remove intermediate structure during GetAllSyncMetadata to reduce memory usage BUG= 701670 Review-Url: https://codereview.chromium.org/2763863002 Cr-Commit-Position: refs/heads/master@{#459255} [modify] https://crrev.com/d6b104cb86ef80a415014191e2f10b6e0dbd501b/components/autofill/core/browser/webdata/autofill_table.cc [modify] https://crrev.com/d6b104cb86ef80a415014191e2f10b6e0dbd501b/components/autofill/core/browser/webdata/autofill_table.h [modify] https://crrev.com/d6b104cb86ef80a415014191e2f10b6e0dbd501b/components/history/core/browser/typed_url_sync_metadata_database.cc [modify] https://crrev.com/d6b104cb86ef80a415014191e2f10b6e0dbd501b/components/history/core/browser/typed_url_sync_metadata_database.h
,
Mar 24 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by gangwu@chromium.org
, Mar 21 2017