Use 8 threads instead of 4 for chunk building
This commit is contained in:
parent
e6477bd186
commit
f021ae69d9
|
@ -7,7 +7,7 @@ use byteorder::{WriteBytesExt, NativeEndian};
|
|||
use world;
|
||||
use render;
|
||||
|
||||
const NUM_WORKERS: usize = 4;
|
||||
const NUM_WORKERS: usize = 8;
|
||||
|
||||
pub struct ChunkBuilder {
|
||||
threads: Vec<(mpsc::Sender<BuildReq>, thread::JoinHandle<()>)>,
|
||||
|
|
Loading…
Reference in New Issue