parent
10d5f344e3
commit
168a84805a
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ pub const ArchetypeStorage = struct {
|
||||||
if (better_capacity >= new_capacity) return;
|
if (better_capacity >= new_capacity) return;
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
better_capacity += better_capacity / 2 + 8;
|
better_capacity +|= better_capacity / 2 + 8;
|
||||||
if (better_capacity >= new_capacity) break;
|
if (better_capacity >= new_capacity) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue