Skip to content

Commit c482686

Browse files
committed
removing unnecessary memset
1 parent 05c0bf4 commit c482686

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/binaryfusefilter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ static inline bool binary_fuse8_populate(uint64_t *keys, uint32_t size,
315315
if (loop + 1 > XOR_MAX_ITERATIONS) {
316316
// The probability of this happening is lower than the
317317
// the cosmic-ray probability (i.e., a cosmic ray corrupts your system)
318-
memset(filter->Fingerprints, 0xFF, filter->ArrayLength);
319318
free(alone);
320319
free(t2count);
321320
free(reverseH);

0 commit comments

Comments
 (0)