I have
IEnumerable<Tuple<string, string>> allInfo
and IEnumerable<string> info1dim
. What is a way to find effectively the diff between info1dim
and first dim of allInfo
. For example :
allInfo = {<"data1", "addinfo1">, <"data2", "addinfo2">, <"data3", "addinfo3">"
and
info1dim = {"data3", "data1", "data4"}
The result I expect is
{"diff4"}
What is the most efficient way to do that? I don't want to run two loops. The IEnumerables are huge (~100000 elements)