Fresh tables: a table refused dynamic slots reads a run another list made this frame from the same records at another table (VICTORY_SAME_TABLES=1); FreshSameUsed, FreshSameUsedSlots #1854

Merged
101Leafy merged 8 commits from upstream-pr/1854 into main 2026-11-29 08:16:53 +00:00
101Leafy commented 2026-11-29 00:46:56 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T00:46:56Z.


Adds VICTORY_SAME_TABLES, off by default, which works only with VICTORY_SHARED_TABLES on. When a fresh table finds no dynamic slots, even after parked tables went back, its draw is dropped today. With VICTORY_SAME_TABLES=1 the draw reads a run another list made this frame from the same records at another table of the same title heap and host heap, and that table's title slots are marked as a table's, as they are for a table that was made. The shared tables keep a second map from heap, slot count and contents to the run last made from them, cleared with the frame and whenever that run goes back.

On our side the switch was on by default. It is off here. In one frame of a flash of light the title asked for 451,641 slots against a ring of 606,784, 340,417 of them for tables remade, and 4,531 tables were refused. Diagnostics builds count the tables and slots read this way in two new counters with their own log line, and the counter array grows to 96.

Builds on #1766 (which builds on #1715).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5546156728 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1854). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-11-29T00:46:56Z. --- Adds VICTORY_SAME_TABLES, off by default, which works only with VICTORY_SHARED_TABLES on. When a fresh table finds no dynamic slots, even after parked tables went back, its draw is dropped today. With VICTORY_SAME_TABLES=1 the draw reads a run another list made this frame from the same records at another table of the same title heap and host heap, and that table's title slots are marked as a table's, as they are for a table that was made. The shared tables keep a second map from heap, slot count and contents to the run last made from them, cleared with the frame and whenever that run goes back. On our side the switch was on by default. It is off here. In one frame of a flash of light the title asked for 451,641 slots against a ring of 606,784, 340,417 of them for tables remade, and 4,531 tables were refused. Diagnostics builds count the tables and slots read this way in two new counters with their own log line, and the counter array grows to 96. Builds on #1766 (which builds on #1715).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!1854
No description provided.