SmallPtrSet::find -> SmallPtrSet::count
The latter is more readable and more efficient. While there clean up some double lookups. NFCI.
Loading
Please register or sign in to comment
The latter is more readable and more efficient. While there clean up some double lookups. NFCI.