Reduce parallel layout chunk size to 16

This commit is contained in:
Matt Brubeck 2017-06-06 10:36:01 -07:00
parent a158b106f4
commit ea154d8278

View file

@ -23,10 +23,7 @@ use traversal::AssignBSizes;
pub use style::parallel::traverse_dom;
/// Traversal chunk size.
///
/// FIXME(bholley): This is all likely very inefficient and should probably be
/// reworked to mirror the style system's parallel.rs.
pub const CHUNK_SIZE: usize = 64;
const CHUNK_SIZE: usize = 16;
#[allow(dead_code)]
fn static_assertion(node: UnsafeNode) {