intersection package:dependent-map

O(m * log (n/m + 1), m <= n. Intersection of two maps. Return data in the first map for the keys existing in both maps. (intersection m1 m2 == intersectionWith const m1 m2).
O(m * log (n/m + 1), m <= n. Intersection with a combining function.