Deep understanding of heap implementation¶
Think about it carefully, any heap implementation needs to consider the corresponding problem from the following two perspectives.
- Macro perspective
- Create a heap
- heap initialization
- Delete heap
- Micro angle
- Apply for a memory block
- Free memory block
Of course, these are relatively high-level ideas, and the underlying implementation of different heaps will be different.
本页面的全部内容在 CC BY-NC-SA 4.0 协议之条款下提供，附加条款亦可能应用。