Skip to content

Commit 83c55aa

Browse files
put stray comment back in its place
1 parent 7f64d24 commit 83c55aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/fastfilter/cuckoo/CuckooPlus16.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ private boolean bucketInsert(int index, long x) {
8585
index++;
8686
x |= SHIFTED;
8787
fp = get(index);
88-
// already inserted
8988
if (fp == 0) {
9089
set(index, x);
9190
return true;
9291
} else {
92+
// already inserted?
9393
return fp == x;
9494
}
9595
}

src/main/java/org/fastfilter/cuckoo/CuckooPlus8.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ private boolean bucketInsert(int index, long x) {
8585
index++;
8686
x |= SHIFTED;
8787
fp = get(index);
88-
// already inserted
8988
if (fp == 0) {
9089
set(index, x);
9190
return true;
9291
} else {
92+
// already inserted?
9393
return fp == x;
9494
}
9595
}

0 commit comments

Comments
 (0)