Repository navigation
Commit 94fe5b4
refactor(signals): drop dead isPending refresh from lane pending/settle
laneAsyncPending and laneAsyncSettled refreshed the lane source's
isPending companion every time a derived node went pending or settled
under the lane. computePendingState never reads _pendingAsync, so the
refresh recomputed the same verdict from the same inputs; the source's
own write (syncCompanions), commit (commitPendingNode -> snapCompanions)
and settlement-checkpoint paths already keep the companion current.
isPending/latest scenario: 10.080 -> 10.062 KB; cap 10.13 -> 10.10.
Co-authored-by: Claude via Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>1 parent 23477ae commit 94fe5b4
3 files changed
Lines changed: 16 additions & 5 deletions
File tree
- .changeset
- packages/signals/src/core
- scripts/size
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
337 | 340 | | |
338 | 341 | | |
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
342 | 345 | | |
343 | | - | |
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| |||
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
352 | | - | |
353 | | - | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
363 | 369 | | |
364 | 370 | | |
365 | 371 | | |
| |||
0 commit comments