dolphin-0001: BreakPoints::GetRegularBreakpoint O(N) std::ranges::find over m_breakpoints vector, called per CPU instruction when breakpoints are active. Fix: unordered_map<u32, size_t> index rebuilt on mutation, O(1) lookup. 2.5x speedup at N=64, scales further with breakpoint count. |
||
|---|---|---|
| .. | ||
| test_dolphin_breakpoints.cpp | ||