Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Emi <[email protected]>
  • Loading branch information
emidoots committed Feb 26, 2025
1 parent 01f0946 commit 7081b6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: slimsag
github: emidoots
2 changes: 1 addition & 1 deletion src/binaryfusefilter.zig
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ pub fn BinaryFuse(comptime T: type) type {
const hh: u64 = hash & ((@as(u64, 1) << 36) - 1);
// index 0: right shift by 36; index 1: right shift by 18; index 2: no shift
//
// NOTE(slimsag): using u64 here instead of size_it as in upstream C implementation; I think
// NOTE: using u64 here instead of size_it as in upstream C implementation; I think
// that size_t may be incorrect for 32-bit platforms?
const shift_count = (36 - 18 * index);
if (shift_count >= 63) {
Expand Down

0 comments on commit 7081b6d

Please sign in to comment.