commit | e0622398a00e884db6d488011d8f7ecd293eb04b | [log] [tgz] |
---|---|---|
author | Darin Petkov <petkov@chromium.org> | Wed Apr 24 12:56:19 2013 +0200 |
committer | ChromeBot <chrome-bot@google.com> | Mon Apr 29 04:48:52 2013 -0700 |
tree | d4af6b21562b047286d68a9e7c9578714f2338a7 | |
parent | 674c318a84e4344fce0fdaee039784ed7900d188 [diff] |
AU: Optimize BzipExtentWriter's memory use. This patch introduces the following two changes: - Reduces the output buffer size from 1MiB to 16KiB. - Avoids copying of the input data when there's no leftover data. This covers the current DeltaPerformer usage of the writer. BUG=chromium:234578 TEST=unit tests; tested full update on device Change-Id: I44f74b4fd8b05b082fde84d5ac06d9b1c1177b81 Reviewed-on: https://gerrit.chromium.org/gerrit/49047 Tested-by: Darin Petkov <petkov@chromium.org> Reviewed-by: Chris Sosa <sosa@chromium.org> Commit-Queue: Darin Petkov <petkov@chromium.org>