Skip to content

Instantly share code, notes, and snippets.

@pervognsen pervognsen/probe.ion
Created Feb 21, 2019

Embed
What would you like to do?
for (i := h) {
i &= index.mask;
if (slot := &index.slots[i]; slot.i == HASH_EMPTY || (slot.h == h && memcmp(a + slot.i*stride, x, size) == 0)) {
return slot;
}
i++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.