3 ms·
The difference is that free() needs to be able to free objects one-at-a-time without knowing their size, and without moving any live data around. This inevitab
by PDoyle 11y ago
The difference is that free() needs to be able to free objects one-at-a-time without knowing their size, and without moving any live data around. This inevitably leads to fragmentation, one way or another.