llvm-project
02cb5bca
- [ADT] Teach set_intersect to erase with iterators (#99569)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
1 year ago
[ADT] Teach set_intersect to erase with iterators (#99569) Without this patch, we erase an element in S1 by value even though we have an interator pointing to it. This patch tries to use erase(iter) to avoid redundant lookups.
References
#99569 - [ADT] Teach set_intersect to erase with iterators
Author
kazutakahirata
Parents
5a45fed1
Loading