You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3e3335e
Browse filesBrowse the repository at this point in the historyBrowse files
chore(size): caps for the lazy memo relink (#3555)
Measured on the tree rebased over #3586: `+ createStore` 16,903 B
(16.90 -> 16.95 KB), `+ isPending/latest` 12,479 B (12.45 -> 12.50 KB),
the simple-app floor 12,510 B (12.50 -> 12.55 KB) and the every-store-
family hydrating app 30,901 B (30.90 -> 30.95 KB), each against `next`'s
16,891 / 12,428 / 12,489 / 30,874. The core floor stays under its cap at
9,685 B (+10 B). Source: linkChild on reawaken, the freeze branch in
prepareComputed, and disposeChildren's post-disposal sibling read, +63 B
minified in the signals core (26,054 -> 26,117); the rest is
mangler/brotli layout. Ledger notes on each entry.
Also: the changeset says "owned by its owner again" (was "its root").
Co-authored-by: Claude via Cursor <[email protected]>
Copy file name to clipboardExpand all lines: .changeset/dormant-memo-relink-on-reawaken.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
"@solidjs/signals": patch
3
3
---
4
4
5
-
A lazy memo (`createMemo(fn, { lazy: true })`) that went dormant and was later read again is owned by its root again: the root's `dispose()` tears it down and its siblings are no longer orphaned by the memo's next dormancy (#3554). Reading a dormant lazy memo after its owner has been disposed now returns the last committed value without reviving it.
5
+
A lazy memo (`createMemo(fn, { lazy: true })`) that went dormant and was later read again is owned by its owner again: the owner's `dispose()` tears it down and its siblings are no longer orphaned by the memo's next dormancy (#3554). Reading a dormant lazy memo after its owner has been disposed now returns the last committed value without reviving it.
0 commit comments