Change the channel buffer to be twice the number of cpus

master
trivernis 5 years ago
parent 16cc793f92
commit 13a5f952f6

@ -1,6 +1,6 @@
[package]
name = "bdflib"
version = "0.4.3"
version = "0.4.4"
authors = ["trivernis <trivernis@gmail.com>"]
edition = "2018"
license-file = "LICENSE"

@ -233,7 +233,7 @@ impl BDFReader {
lookup_table: None,
reader: BufReader::new(inner),
compressed: false,
thread_manager: ThreadManager::new(num_cpus::get()),
thread_manager: ThreadManager::new(num_cpus::get() * 2),
}
}

Loading…
Cancel
Save