commit | ae0379230c983c06cc4d03b0a9197e4e9305a185 | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Wed Mar 25 15:15:18 2020 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Fri Mar 27 11:22:03 2020 +0800 |
tree | eb9badaebde7e44455ff277c900f25b6d274f540 | |
parent | de4cf91872ab3517471dad9294f09b3fb3e0ee88 [diff] |
Using for loop instead of stream With an ArrayList, a hand-written counted loop is faster than the enhanced for loop and stream. Bug: 152227957 Test: Run atest under both pm folder Change-Id: I714eec2add030d794d0449ae8d07b572e5904880