add delete dict operations

This commit is contained in:
polv committed 2026-02-23 17:27:41 +07:00
1 parent fa5bfb56b0
commit 1e91f21ca4
8 files changed
+129 -44

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
use std::time::Instant;
use anyhow::Ok;
use cjdic2_core::AppService;
mod common;
use common::get_db_dir;
fn main() -> Result<(), anyhow::Error> {
let service = AppService::new(get_db_dir())?;
let start = Instant::now();
let rs = service.search_yomitan("擦る", "する", 10, 0)?;
println!("{:#?}", rs);
println!("n={}", rs.len());
println!("[{:.2?}]", start.elapsed());
Ok(())
}