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

Manually merged
github merged 8 commits from github-bot/gh-1854 into main 2026-11-29 08:21:22 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-29 00:46 UTC · original
101Leafy:nv/same-tables → main · +453 −27 · 12 files · 8 commits · merged 2026-11-29 08:16 UTC

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).

**@⁠101Leafy** on GitHub · 2026-11-29 00:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1854) `101Leafy:nv/same-tables` → `main` · +453 −27 · 12 files · 8 commits · merged 2026-11-29 08:16 UTC 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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 00:50:50 +00:00
github manually merged commit 76c744d1c3 into main 2026-11-29 08:21:22 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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