diff options
| author | steven-na <noreply.github@stvnc.dev> | 2026-08-21 16:01:34 -0700 |
|---|---|---|
| committer | steven-na <noreply.github@stvnc.dev> | 2026-08-21 16:01:34 -0700 |
| commit | b844718a1687424b2748608cbb52fb4012417fe5 (patch) | |
| tree | 7844c634269e25992e9267a6b94467ffe9c7abb4 /src/map.h | |
| parent | 4b73fa11fbbbd43fe5292bdd9dce4abcbb514318 (diff) | |
Hashmap usable i think, now with proper 3rd party algorithm
Diffstat (limited to 'src/map.h')
| -rw-r--r-- | src/map.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,9 @@ #include "smrt_arena.h" // Hashmap structure that stores u8* keys and void* values. -// API: map_create, map_insert, map_delete, map_lookoop +// API: map_create, map_insert, map_delete, map_lookup +// There is no map_destroy. It is allocated on the arena +// Uses a5hash to hash keys. typedef struct _map_t* map_t; map_t map_create(smrt_arena_t *arena, u64 table_size); |