Does anyone know what Join algorith does LINQ performs with its Join operator.
Is it NestedLoop, Merge, or HashSet? Is there any way to specify a different one, if supported?
Regards
Albert
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First it effectively creates a lookup from the “inner” sequence, then iterates through the outer sequence. It can then look up each key from the outer sequence and yield each appropriate pair. Something like this (ignoring argument validation etc):
The lookup will use a hash table internally for the keys, so that it’s efficient to look up any individual key.