]> git.sesse.net Git - remoteglot-book/blobdiff - hash.h
Partition the SSTable; somewhat less efficient space-wise, it seems, but we avoid...
[remoteglot-book] / hash.h
diff --git a/hash.h b/hash.h
new file mode 100644 (file)
index 0000000..9b9550a
--- /dev/null
+++ b/hash.h
@@ -0,0 +1,6 @@
+#ifndef _HASH_H
+#define _HASH_H 1
+
+int hash_key_to_bucket(const char* s, size_t len, int num_buckets);
+
+#endif  // !defined(_HASH_H)