Increase batch size

This commit is contained in:
Dirkjan Ochtman 2020-12-16 06:47:13 -08:00
parent 9d959fce06
commit 5ceebde417
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ where
let mut pool = SearchPool::default();
let mut batch = Vec::new();
let mut done = Vec::new();
let max_batch_len = num_cpus::get();
let max_batch_len = num_cpus::get() * 4;
for (layer, mut range) in ranges {
let num = if layer.0 > 0 { M } else { M * 2 };