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
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1854"
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 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).