Notification scheduler: Replace std::deque in impression_types.
This CL replaces std::deque with base::circular_deque. This can reduce the APK size by 160 bytes. Notice there are some side effects for base::circular_deque, like can't dereference iterator while modifying the containers. Also std::sort on base::circular_deque is taking +500 bytes increase in APK size, which makes this replacement less efficient. Bug: 972191 Change-Id: I25f4ae780b0f8be5a970ced561c461a68f1c93fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1759228Reviewed-by:Hesen Zhang <hesen@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#688248}
Showing
Please register or sign in to comment