Thin lists: a state call repeated right after itself is left out of the stream (VICTORY_THIN_COALESCE=1, off by default) #1438
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1438"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by TolkoDev on 2026-11-28T19:56:51Z.
Why. With
VICTORY_THIN=1every call the title makes is written into the stream, also a state call that only repeats the one before it. Such a repeat changes nothing, or records the same state again.The change. With
VICTORY_THIN_COALESCE=1(off by default) a state call is not written if the call written last is the same one, with the same words, and nothing came after it.Tested. Windows 10, on
mainat923e38c.CLOSEis never left out. The 9list::thintests pass, one process each.victory-gpuclippy, withunused_variables,manual_checked_opsanddeprecatedallowed, reports what it reports onmain. The full workspace checks do not pass here onmaineither (see #1437).Not measured. How many calls this leaves out in the game, and any frame rate change. The translator already does little for such a repeat, so the gain may be small. Not run in the game.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Lancito01 on 2026-11-28T20:47:48Z.
Data point: RTX 3080, Series S mode, main
9ce3cf9e+ #938, with this commit applied on top of main (the bake/hereparts of the base branch aren't on main, so onlylast/repeats/REPEATSwere taken) andVICTORY_THIN_COALESCE=1. In the prison prologue scenes the thin line reports ~35k calls/frame and "repeated state calls left out 0" every line; frame time unchanged (65.9 ms median vs 65.4 without). So on main's path the title doesn't seem to issue exact back-to-back repeats; any gain may depend on the in-order/bake path of the base branch. Unit tests pass.AI-assisted (Claude).