Commit ac3fc04
refactor: persist markers once per batch, not per individual mutation
Move persistMarkers() out of addMarker/updateMarker/removeMarker into
processCommands (once after the entire batch). The ontoolresult handler
already has its own explicit persistMarkers() call.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 04c8403 commit ac3fc04
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | | - | |
1051 | 1050 | | |
1052 | 1051 | | |
1053 | 1052 | | |
| |||
1114 | 1113 | | |
1115 | 1114 | | |
1116 | 1115 | | |
1117 | | - | |
1118 | 1116 | | |
1119 | 1117 | | |
1120 | 1118 | | |
| |||
1131 | 1129 | | |
1132 | 1130 | | |
1133 | 1131 | | |
1134 | | - | |
1135 | 1132 | | |
1136 | 1133 | | |
1137 | 1134 | | |
| |||
1178 | 1175 | | |
1179 | 1176 | | |
1180 | 1177 | | |
| 1178 | + | |
| 1179 | + | |
1181 | 1180 | | |
1182 | 1181 | | |
1183 | 1182 | | |
| |||
0 commit comments