openmsx-0001: MSXCPUInterface::checkBreakPoints() O(B) linear scan over all breakpoints per Z80 instruction when any breakpoint is active. Fix: unordered_map<uint16_t, vector<id>> index gives O(k) lookup where k = breakpoints at current PC (typically 0). 500x improvement at B=500. |
||
|---|---|---|
| .. | ||
| patch | ||
| test | ||