Different completed arrangements beneath the active frontier may lead to the same future subproblem: identical skyline, board dimensions and remaining multiplicities.
A transposition table could avoid re-solving such failed subproblems, but hashing and memory traffic may cost more than it saves.
Proposed work
Define a canonical state key containing skyline and remaining counts.
Instrument duplicate-state frequency before enabling a large cache.
Evaluate bounded per-worker and shared caches.
Consider reflection canonicalization where cheap.
Provide a configurable memory limit and deterministic disabled mode.
Acceptance criteria
Key equality is sufficient for equivalent future search.
Hash collision handling cannot cause false pruning.
Report hit rate, memory usage and elapsed-time effect.
Do not retain memoization by default unless it provides a measured net benefit.
## Background
Different completed arrangements beneath the active frontier may lead to the same future subproblem: identical skyline, board dimensions and remaining multiplicities.
A transposition table could avoid re-solving such failed subproblems, but hashing and memory traffic may cost more than it saves.
## Proposed work
- Define a canonical state key containing skyline and remaining counts.
- Instrument duplicate-state frequency before enabling a large cache.
- Evaluate bounded per-worker and shared caches.
- Consider reflection canonicalization where cheap.
- Provide a configurable memory limit and deterministic disabled mode.
## Acceptance criteria
- Key equality is sufficient for equivalent future search.
- Hash collision handling cannot cause false pruning.
- Report hit rate, memory usage and elapsed-time effect.
- Do not retain memoization by default unless it provides a measured net benefit.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Background
Different completed arrangements beneath the active frontier may lead to the same future subproblem: identical skyline, board dimensions and remaining multiplicities.
A transposition table could avoid re-solving such failed subproblems, but hashing and memory traffic may cost more than it saves.
Proposed work
Acceptance criteria