points by senderista 4 days ago | 0 comments
But sized deallocation gives the allocator implementation more freedom to optimize, not less. More information from clients = more optimization opportunities for the implementation. I don't understand how you can claim the opposite is true.
Source: I have implemented allocators.
If sized parameter helps optimization, why allocator just not put it in the header block already ?