diff options
Diffstat (limited to 'include/std')
-rw-r--r-- | include/std/hash_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/std/hash_map.h b/include/std/hash_map.h index 05755ce..19f97a2 100644 --- a/include/std/hash_map.h +++ b/include/std/hash_map.h @@ -12,6 +12,7 @@ typedef struct HashMap HashMap; typedef int(*HashMapCompare)(const void *a, const void *b); typedef usize(*HashMapHash)(const u8 *data, usize size); +/* TODO: Optimize small hash maps by using the members of the struct instead of allocating on heap */ struct HashMap { ArenaAllocator *allocator; /* borrowed */ Buffer/*HashMapBucket*/ buckets; |