monotonic_buffer_resource 与 Arena 场景 | STL

本章覆盖:monotonic allocation;bulk release;no individual deallocation effect;upstream resource;request-scope / frame-scope temporary objects;parser / compiler / game frame;resource lifetime must outlive containers;memory peak;unsuitable for long-lived arbitrary deletion;benchmark before adoption。

本章知识点

  • monotonic allocation
  • bulk release
  • no individual deallocation effect
  • upstream resource
  • request-scope / frame-scope temporary objects
  • parser / compiler / game frame
  • resource lifetime must outlive containers
  • memory peak
  • unsuitable for long-lived arbitrary deletion
  • benchmark before adoption