Commit d56b44f
Gökhan Ercan
Removed redundant intersection loop
Since we already have the set union, calculating the intersection length is possible without looping like this: |A|+|B|-U(A,B). As already implemented in the Jaccard measure.1 parent 3c42c73 commit d56b44f
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 47 | + | |
51 | 48 | | |
0 commit comments