graph LR A[Profile Memory] --> B[Identify Hotspot] B --> C{Is it acontainer?} C -->|Yes| D[vector โ array?] C -->|No| E{Is it anallocation pattern?} E -->|Yes| F[Cache โ member?] E -->|No| G[Check lifetime& duplication] D --> H[Benchmark + Test] F --> H G --> H H --> I{Speed OK?} I -->|Yes| J[โ Ship] I -->|No| K[Revert or tune] K --> B