in reply to Re^2: Is this a job for a fork?in thread Is this a job for a fork?
The partitioning solution would only work if you already had a list of potential pairs, which you could then check in parallel chunks.