On 2/20/21 6:39 PM, kinke wrote:
On Saturday, 20 February 2021 at 18:43:53 UTC, Steven Schveighoffer wrote:
Last I checked*, the GC uses pools of 16-byte, 32-byte, 64-byte, etc
blocks.
That has changed [to reduce wastage]; the new bin sizes are here and
include sizes like 176 (11*16):
https://github.com/dlang/druntime/blob/728f1d9c3b7a37eba4d59ee2637fb924053cba6d/src/core/internal/gc/impl/conservative/gc.d#L1166
Hm... but does TypeInfo detail alignment? If so, we can make this work
anyway, just bump up the size needed to a power-of-2 pool.
I wasn't aware of the changes to the pool sizes...
-Steve