Commit 4d345ec
committed
writes: name the snapshot-clearing rule as invalidateSourceRows()
The two-line staleness pair was copied in setElement, __unset, and the
deprecated offsetUnset, with the rationale comment repeated at each site.
One private helper now holds both lines and the why; a future write path
calls it instead of having to notice and copy the pattern. Missing it
means derived sets serve pre-write data from their carried snapshots.1 parent 139b0e4 commit 4d345ec
2 files changed
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
| 538 | + | |
540 | 539 | | |
541 | 540 | | |
542 | 541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
377 | 388 | | |
378 | 389 | | |
379 | 390 | | |
380 | 391 | | |
381 | 392 | | |
382 | 393 | | |
383 | 394 | | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 395 | + | |
389 | 396 | | |
390 | 397 | | |
391 | 398 | | |
| |||
1436 | 1443 | | |
1437 | 1444 | | |
1438 | 1445 | | |
1439 | | - | |
1440 | | - | |
| 1446 | + | |
1441 | 1447 | | |
1442 | 1448 | | |
1443 | 1449 | | |
| |||
0 commit comments