Use fastmatch to speed up intersect and setdiff operations