Commit f48db31
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 eaf2db1 commit f48db31
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
521 | 525 | | |
522 | 526 | | |
523 | | - | |
524 | 527 | | |
525 | 528 | | |
526 | 529 | | |
| |||
0 commit comments