Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Avoid potential slow Set#removeAll call in HierarchicalCommunica…
…tor (#13746) (#13818) * fix: Avoid potential slow Set#removeAll call in HierarchicalCommunicationController#passivateInactiveKeys The performance of calling Set#removeAll(List) is dependent on the relative sizes of the Set and List parameter. Replace Set#removeAll with List#forEach(Set::remove) to avoid this. Fixes #13745 Co-authored-by: Mikhail Shabarov <[email protected]> Co-authored-by: Soroosh Taefi <[email protected]> Co-authored-by: Pepijn Van Eeckhoudt <[email protected]> Co-authored-by: Mikhail Shabarov <[email protected]> Co-authored-by: Soroosh Taefi <[email protected]>
- Loading branch information