20 Feb
2024
20 Feb
'24
4:59 p.m.
On Tue Feb 20 13:08:45 2024 +0000, Jinoh Kang wrote:
To avoid unnecesary growth, I suggest that you keep track of number of allocated (`!invalid && !destroyed`) objects and use it to calculate capacity. Otherwise, we end up unnecessarily extending size when e.g., 50% of the mapping is actually unused (invalid). Indeed. I've changed this to better recycle objects. Growing only happens now when we're out of objects.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3103#note_62083