operator new、allocator 与内存分配层次 | C++
本章覆盖:new expression;`operator new`;allocation vs construction;delete expression;`operator delete`;placement new;custom allocation;memory pool;allocator 的高层定位;STL allocator 细节留给 STL 课程;低延迟系统可能需要定制分配策略;不在普通业务代码提前做内存池优化。
本章知识点
- new expression
operator new- allocation vs construction
- delete expression
operator delete- placement new
- custom allocation
- memory pool
- allocator 的高层定位
- STL allocator 细节留给 STL 课程
- 低延迟系统可能需要定制分配策略
- 不在普通业务代码提前做内存池优化