Game: stop scanning database states once the wanted hashes are named #3707
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3707"
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 Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T10:04:07Z.
The database pass can stop reading depth, rasterizer or blend descriptions once all wanted hashes of that kind have names. It leaves the effect list early when all three sets are empty. The order in which names are assigned stays the same.
I compared the exact database passes on Windows in release mode with 25,000 generated effects. The tests matched the named state bytes, source labels and remaining wanted hashes in all three cases.
Each result is the median of 17 alternating pairs and covers the database pass. All 15 game tests, strict Clippy and the asset policy passed.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T10:08:01Z.
Windows CI passed on
4a5402b, including both Clippy configurations and the workspace tests. The generated 25,000-effect comparison matched the state bytes, source labels and unresolved sets in all three cases. A single remaining depth hash took 6.476 to 1.686 ms in the isolated database stage. The all-unresolved control took 6.478 to 6.536 ms.The next step is maintainer review. Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.