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.