mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Reduce parallel layout chunk size to 16
This commit is contained in:
parent
a158b106f4
commit
ea154d8278
1 changed files with 1 additions and 4 deletions
|
@ -23,10 +23,7 @@ use traversal::AssignBSizes;
|
||||||
pub use style::parallel::traverse_dom;
|
pub use style::parallel::traverse_dom;
|
||||||
|
|
||||||
/// Traversal chunk size.
|
/// Traversal chunk size.
|
||||||
///
|
const CHUNK_SIZE: usize = 16;
|
||||||
/// 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;
|
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn static_assertion(node: UnsafeNode) {
|
fn static_assertion(node: UnsafeNode) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue