I'd just do a quick filter, probably deterministic, then perform a deeper comparison on the selected few.