Use 8 threads instead of 4 for chunk building

This commit is contained in:
Thinkofname 2016-03-21 23:25:27 +00:00
parent e6477bd186
commit f021ae69d9
1 changed files with 1 additions and 1 deletions

View File

@ -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<()>)>,