You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #130 - stepancheg:smaller-larger, r=Amanieu
Optimize set union and intersection
For intersection: take the smaller set, and check each element
exists in the larger set.
For union: take the larger set, and append missing elements from
the smaller set.
Similar optimizations exist in Rust's `HashSet`.
0 commit comments