Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local res cache #41

Merged
merged 5 commits into from
Mar 31, 2024
Merged

Local res cache #41

merged 5 commits into from
Mar 31, 2024

Conversation

primenumber
Copy link
Owner

スレッドローカルな置換表を導入する。
同期が不要なため、オーバーヘッドが削減され、より葉に近いノードでも置換表を用いることができる。
solve_inner 内でのみ使い、 solve_inner を呼ぶたびに gen を増やすことで、古いキャッシュを上書きできるため、 #39 の一部解決にもなっている。

@primenumber primenumber merged commit f76e2bf into master Mar 31, 2024
1 check passed
@primenumber primenumber deleted the local-res-cache branch March 31, 2024 16:50
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