perf: AI 搜索移到独立后台线程避免阻塞 GUI

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 13:43:25 +08:00
parent e7a32ef8df
commit c1c64b0155
2 changed files with 18 additions and 6 deletions
+1
View File
@@ -5,6 +5,7 @@ use crate::rules;
use crate::types::{Color, Position};
/// Alpha-Beta AI 引擎
#[derive(Clone)]
pub struct AlphaBetaAi {
depth: usize,
}