summaryrefslogtreecommitdiff
path: root/src/hashmap.c
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-10-31 23:55:42 +0000
committeronelin <oscar@nelin.dk>2025-11-02 22:07:17 +0000
commitd38deeef3af2316a666f8fc0173940bd769b748e (patch)
tree6e30d4a9eea18daa5705c894f28cd99ff047e8f9 /src/hashmap.c
parent6c077751982ea2c7bd2d9262b01b9f8602f80dc8 (diff)
Flatten project structure
This will make it easier to break up the code into smaller chunks again later. One would think doing this seems fun to me at this point.
Diffstat (limited to 'src/hashmap.c')
-rw-r--r--src/hashmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hashmap.c b/src/hashmap.c
new file mode 100644
index 0000000..653b615
--- /dev/null
+++ b/src/hashmap.c
@@ -0,0 +1,5 @@
+#include <daw/utils/hashmap.h>
+
+/* Currently, this is a "works, but very poorly" placeholder implementation.
+ * Should be avoided in practice */
+usize lolhash(const usize s, usize v) { return v % s; }