diff options
| author | gingerBill <bill@gingerbill.org> | 2023-11-22 15:04:41 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-11-22 15:04:41 +0000 |
| commit | 4af77aeff684cf9a4a764a9e18d942f232cd7caf (patch) | |
| tree | ddf46c76d5529d99fe3ad6def269df992ca3a7a3 /core/runtime | |
| parent | 8a56bb3b5f185b5d08b5fee3daac7be796fefdcc (diff) | |
Lower `MAP_MIN_LOG2_CAPACITY` from `6` to `3` (64->8)
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/dynamic_map_internal.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/dynamic_map_internal.odin b/core/runtime/dynamic_map_internal.odin index bdf0979cb..491a7974d 100644 --- a/core/runtime/dynamic_map_internal.odin +++ b/core/runtime/dynamic_map_internal.odin @@ -44,7 +44,7 @@ _ :: intrinsics MAP_LOAD_FACTOR :: 75 // Minimum log2 capacity. -MAP_MIN_LOG2_CAPACITY :: 6 // 64 elements +MAP_MIN_LOG2_CAPACITY :: 3 // 8 elements // Has to be less than 100% though. #assert(MAP_LOAD_FACTOR < 100) |