Commit cca8fd8
committed
Avoid unnecessary refreshDebugState
Skip unnecessary clearCurrentLine and
setCurrentLine every tick when current
PC marker does not need to be updated,
which in turn avoid unnecessary
EditorView.updateListener invocations
every tick.1 parent 6ce80f9 commit cca8fd8
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
540 | 544 | | |
541 | 545 | | |
542 | | - | |
543 | 546 | | |
544 | 547 | | |
545 | 548 | | |
| |||
0 commit comments