perf(list): hash duplicate-list lookups #2510

Manually merged
github merged 1 commit from github-bot/gh-2510 into main 2026-11-30 14:17:19 +00:00 AGit
Owner

@⁠wrq2007 on GitHub · 2026-11-29 13:45 UTC · original
wrq2007:perf/hash-list-dedup → main · +16 −5 · 1 files · 1 commits · merged 2026-11-30 14:12 UTC

Summary

  • Replace linear duplicate-list searches with preallocated hash maps.
  • Reuse the existing address hasher instead of the default general-purpose hasher.
  • Preserve first-occurrence, dropped-duplicate, and execution-order semantics.

Test plan

  • cargo test --locked -p victory-gpu --lib -- --test-threads=1 (the known global-state card-steps test was also rerun individually)
  • cargo clippy --locked -p victory-gpu --all-targets
  • cargo xtask policy --staged

No game assets, screenshots, logs, executables, or local paths are included.

**@⁠wrq2007** on GitHub · 2026-11-29 13:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2510) `wrq2007:perf/hash-list-dedup` → `main` · +16 −5 · 1 files · 1 commits · merged 2026-11-30 14:12 UTC ## Summary - Replace linear duplicate-list searches with preallocated hash maps. - Reuse the existing address hasher instead of the default general-purpose hasher. - Preserve first-occurrence, dropped-duplicate, and execution-order semantics. ## Test plan - [x] `cargo test --locked -p victory-gpu --lib -- --test-threads=1` (the known global-state card-steps test was also rerun individually) - [x] `cargo clippy --locked -p victory-gpu --all-targets` - [x] `cargo xtask policy --staged` No game assets, screenshots, logs, executables, or local paths are included.
Replace linear duplicate-list scans with preallocated address-hashed maps while preserving first-occurrence and execution-order semantics.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 13:50:08 +00:00
github manually merged commit 20e615d3ee into main 2026-11-30 14:17:19 +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!2510
No description provided.