#include <stdlib.h>
-#include <inttypes.h>
#include "bloom.h"
#include "../hash.h"
-#include "../minmax.h"
#include "../crc/xxhash.h"
#include "../crc/murmur3.h"
#include "../crc/crc32c.h"
struct bloom *b;
size_t no_uints;
+ crc32c_arm64_probe();
crc32c_intel_probe();
b = malloc(sizeof(*b));
if (b->map[index] & (1U << bit))
was_set++;
- if (set)
+ else if (set)
b->map[index] |= 1U << bit;
+ else
+ break;
}
return was_set == N_HASHES;