mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-19 01:18:22 +00:00
Clean up logic
This commit is contained in:
@@ -94,7 +94,7 @@ gb_internal bool ptr_set__full(PtrSet<T> *s) {
|
||||
|
||||
template <typename T>
|
||||
gb_inline void ptr_set_grow(PtrSet<T> *s) {
|
||||
isize new_count = s->hashes.count*2;
|
||||
isize new_count = gb_max(s->hashes.count<<1, 16);
|
||||
ptr_set_rehash(s, new_count);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user