Anonymous user
Hash join: Difference between revisions
m
→{{header|Ruby}}
Line 322:
# hash phase
h = table1.group_by {|s| s[index1]}
h.default = []
# join phase
table2.collect {|r|
|