Skip to content

Commit

Permalink
Reduce parallel layout chunk size to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Jun 6, 2017
1 parent a158b10 commit ea154d8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/layout/parallel.rs
Expand Up @@ -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) {
Expand Down

0 comments on commit ea154d8

Please sign in to comment.