Using rayon to accelerate DB post-processing

This commit is contained in:
jamjamjon
2025-01-13 22:42:43 +08:00
parent 8c56d5e2a5
commit f511a475ac
8 changed files with 171 additions and 108 deletions

View File

@ -41,12 +41,11 @@ fn main() -> Result<()> {
// load image
let x = DataLoader::try_read_batch(&[
"images/table.png",
"images/table1.jpg",
"images/table2.png",
"images/table-ch.jpg",
"images/db.png",
"images/table.png",
"images/table-ch.jpg",
"images/street.jpg",
"images/slanted-text-number.jpg",
])?;
// run