From 078e21a1feb811f9ef7797ce3ee5d2e8ffcccfce Mon Sep 17 00:00:00 2001 From: nasr Date: Fri, 17 Apr 2026 17:49:10 +0200 Subject: feature(main): during my work on other projects I improved the base library a bit. this is a drag and drop of that in the project. the next steps exit out of implementing lineair regression and attempting to calcualte what the value would be of a key in the btree... Signed-off-by: nasr feature(main): during my work on other projects I improved the base library a bit. this is a drag and drop of that in the project. the next steps exit out of implementing lineair regression and attempting to calcualte what the value would be of a key in the btree... Signed-off-by: nasr --- source/base/bash_hash.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'source/base/bash_hash.h') diff --git a/source/base/bash_hash.h b/source/base/bash_hash.h index 2c286a2..758ef72 100644 --- a/source/base/bash_hash.h +++ b/source/base/bash_hash.h @@ -1,15 +1,24 @@ -##ifndef HEADER_H -#define HEADER_H +#ifndef BASH_HASH_H +#define BASH_HASH_H typedef struct hash_map hash_map; typedef struct hash hash; - -struct hash_map +struct map { + string8 + u64 capacity +}; +struct index +{ + string8 key; + string8 value; }; -#endif /* HEADER_H */ + +internal void + +#endif /* BASH_HASH_H */ -- cgit v1.3