Skip to content

Commit 0945878

Browse files
updated algo
1 parent a0b1e23 commit 0945878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algo/uidlist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func IntersectCompressedWith(pack *pb.UidPack, afterUID uint64, v, o *pb.List) {
6060

6161
// Select appropriate function based on heuristics.
6262
ratio := float64(m) / float64(n)
63-
if ratio < 100 {
63+
if ratio < 10 {
6464
IntersectCompressedWithLinJump(&dec, v.Uids, &dst)
6565
} else {
6666
IntersectCompressedWithBin(&dec, v.Uids, &dst)

0 commit comments

Comments
 (0)