commit | 0022a34428cf8bfe4feb0935cdd20b0257bfc8a3 | [log] [tgz] |
---|---|---|
author | Adithya Chakilam <achakila@codeaurora.org> | Mon May 03 09:18:23 2021 -0500 |
committer | Adithya Chakilam <achakila@codeaurora.org> | Mon May 03 09:52:20 2021 -0500 |
tree | 2fb4065f1e06e41f3f5c78eb1f44e3da143c5f83 | |
parent | 75c44d0b1dec203859112ad42074eb16839ea353 [diff] |
Change pruneNoLongerPending to accept Set instead of Collection Previously while we are looking up the collection using .contains(), it was an O(n) operation and resulting in degredation of pruning performance when the number of tasks in storage is high. Change it to use Set instead. Change-Id: Ibba32198049536177f51a1c19d79a8ed181faa73