Closed yangzq50 closed 8 months ago
https://github.com/FastFilter/xor_singleheader/blob/1f7e18b2c1de0854e0da75d49a471d37c03e9e5f/include/binaryfusefilter.h#L20-L30
In this function, why j starts from 0? For example, if keys[0] < keys[1] , this function will assign the value of keys[1] to keys[0] , and keys[0] will be no longer available.
j
keys[0]
keys[1]
why return j+1; ?
return j+1;
https://github.com/FastFilter/xor_singleheader/blob/1f7e18b2c1de0854e0da75d49a471d37c03e9e5f/include/binaryfusefilter.h#L20-L30
In this function, why
j
starts from 0? For example, ifkeys[0]
<keys[1]
, this function will assign the value ofkeys[1]
tokeys[0]
, andkeys[0]
will be no longer available.why
return j+1;
?