mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
db update schema
This commit is contained in:
1 parent
707c4274d1
commit
442e309a81
5 files changed
+43
-21
No files matched your search
@@ -8,8 +8,10 @@ fn main() -> Result<(), anyhow::Error> {
|
||||
let conn = &mut Connection::open("test.db")?;
|
||||
|
||||
let start = Instant::now();
|
||||
let rs = search_yomitan(conn, "食べる", "食べる", 5, 0)?;
|
||||
println!("{:#?}\n[{:.2?}]", rs, start.elapsed());
|
||||
let rs = search_yomitan(conn, "擦る", "する", 10, 0)?;
|
||||
println!("{:#?}", rs);
|
||||
println!("n={}", rs.len());
|
||||
println!("[{:.2?}]", start.elapsed());
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user