Repository navigation
Release v1.6.0 - #40
Merged
Merged
Conversation
- 公開済み Rust API の互換性を維持し、探索専用 API と補助 API を非推奨化。削除は 2.0.0 に集約し、移行ガイドを追加する - 通常の Position::clone() の履歴チャンク複製を改善し、予約容量と履歴の独立性を維持する - Position::clone_from() で複製先の履歴領域を再利用し、同じ保存先への繰り返し複製を改善する - clone_for_search() は根履歴の索引を準備し、一致候補がない場合だけ古い履歴の走査を省く。索引構築と照会には費用があり、一律の高速化を保証しない - 未使用の内部コードと開発用依存を削除し、計測用 example を crates.io 配布から除外する - rook_rank_attacks() を rook_attacks() と段マスクの合成へ変更する。戻り値は維持するが、従来実装との速度の同等性は保証しない
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
公開済み API のシグネチャと動作を 1.x 中は維持し、2.0.0 で削除する API の非推奨警告と移行ガイドを追加する。局面の複製では全履歴と予約容量を保持し、
clone_from()は複製先の領域を再利用する。clone_for_search()は根履歴の索引で一致候補がない範囲の走査を省く。索引には構築・照会の費用があり、一律の高速化は保証しない。rook_rank_attacks()は戻り値を維持して実装を合成へ変更する。配布物の不要ファイルと公開文書も整理する。検証:ローカルの
make check、release 無確保契約、AVX2 release の履歴上限互換テスト、rustdoc、mdBook、crate と両 sdist の内容照合が成功。マージ前に候補 CI と Python release matrix(標準版 5 環境、AVX2 版 3 環境、両 sdist)を確認する。