9 ms·
A reasonable allocator should already be grouping allocations of similar size together. In a whole lot of cases this means your metadata is no more than a sing
by Dylan16807 7y ago
A reasonable allocator should already be grouping allocations of similar size together. In a whole lot of cases this means your metadata is no more than a single byte per object, and the padding is no more than you'd have inside an array.
- viraptor 7y agoTrue, it really depends on the allocator.