Jump to content

Hash join: Difference between revisions

m
→‎{{header|Sidef}}: modified code to work with Sidef 2.10
(Added Elixir)
m (→‎{{header|Sidef}}: modified code to work with Sidef 2.10)
Line 1,580:
# hash phase
table1.each { |s|
h[{s[index1]]} := [] -> append(s);
};
 
# join phase
table2.each { |r|
a += h[{r[index2]]}.map{[_,r]};
};
 
2,747

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.