From d38deeef3af2316a666f8fc0173940bd769b748e Mon Sep 17 00:00:00 2001 From: onelin Date: Sat, 1 Nov 2025 00:55:42 +0100 Subject: 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. --- src/hashmap.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/hashmap.c (limited to 'src/hashmap.c') 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 + +/* 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; } -- cgit v1.3