Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 8ec6f84e25d18172c1916df1140e61011d747ab6
parent 7dad8de15309c5cf81b9c95ba20877b1b5352783
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed,  4 Nov 2026 23:15:51 -0500

umtool: Play fetches post items ahead only once the deck is composed -- before, the pages were fetched at the plain frame's size (the deck's box is another URL) and four requests queued ahead of the composition, landing its remount later, inside thread-scenes' measure of a wide attachment's slot

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/review/PlayCut.tsx | 5++++-
Mumtool/docs/knobs.md | 2+-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/umtool/components/projects/review/PlayCut.tsx b/umtool/components/projects/review/PlayCut.tsx @@ -887,6 +887,9 @@ export default function PlayCut({ if (started.current !== curId) started.current = null; }, [curId]); useEffect(() => { + // Not while the deck composes: its pages would be fetched at the plain frame's size (the deck's box is + // another URL), and the requests would queue ahead of the composition itself. + if (composeState === "composing") return; const items = plan.items; const i = ui.cur; const [w, h] = postBoxKey.split("x").map(Number); @@ -907,7 +910,7 @@ export default function PlayCut({ if (a) ahead.push(a); } postPreload.want(ahead, keep); - }, [ui.cur, plan, entryOf, project, take, asPublished, uncensored, postBoxKey]); + }, [ui.cur, plan, entryOf, project, take, asPublished, uncensored, postBoxKey, composeState]); useEffect(() => () => postPreload.clear(), []); // The reel strip's counter: the composed schedule's stamps when there is one, else the estimate's. diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md @@ -599,7 +599,7 @@ decoded yet holds the clock at its first second (**loading…**), nothing skippe **Post items are fetched ahead, and never cut short by loading** (operator, 4 Nov: "the rapid sections ... don't load fast enough"). While one item plays, the post items after it — those starting within ~20 s of its end, at least three, -at most 24, so a `pace: "fast"` burst has many ahead — are fetched a few requests at a time, nearest first +at most 24, so a `pace: "fast"` burst has many ahead — are fetched (once the deck is composed: its box is the pages' size) a few requests at a time, nearest first (`playEngine/postPreload.ts`): each card's page with its faces, avatars and a parent's screenshot written into it, the picked take, every attachment the plan shows (and a video's words, the panel's, what a join opens on), held as blobs in memory (a file over 64 MB, or past 384 MB in all, is left to its element) and let go once behind the playhead. The