Skip to content

Release A01 and A03 search state - #86

Draft
0hmX wants to merge 1 commit into
mainfrom
pr/release-search-state
Draft

Release A01 and A03 search state#86
0hmX wants to merge 1 commit into
mainfrom
pr/release-search-state

Conversation

@0hmX

@0hmX 0hmX commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Add release() implementations to the A01 and A03 high-density solvers so the
autorouter can explicitly drop large search-state arrays once these package solvers
lose, fail, or finish.

Included here:

  • HighDensitySolverA01.release()
  • HighDensitySolverA03.release()

Why

The autorouter-side HD cleanup now calls optional release?.() hooks on nested
candidate solvers. Without package-side implementations, A01/A03 instances keep
their large typed arrays and search-state pools alive until GC can reclaim the whole
solver object.

This PR lets the autorouter free that package-owned state promptly.

Verification

bun run build

Result:

  • build passes

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
high-density-a01 Ready Ready Preview, Comment Jun 11, 2026 2:54pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant