mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
auto merge of #1315 : pcwalton/servo/disable-parallel, r=metajack
To verify, turn ON optimizations and go to: http://en.wikipedia.org/wiki/Yellow_River r? @metajack
This commit is contained in:
commit
238741f646
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ impl MatchMethods for AbstractNode<LayoutView> {
|
|||
}
|
||||
}
|
||||
fn match_subtree(&self, stylist: RWArc<Stylist>) {
|
||||
let num_tasks = rt::default_sched_threads() * 2;
|
||||
// FIXME(pcwalton): Racy. Parallel CSS selector matching is disabled.
|
||||
//let num_tasks = rt::default_sched_threads() * 2;
|
||||
let num_tasks = 1;
|
||||
let mut node_count = 0;
|
||||
let mut nodes_per_task = vec::from_elem(num_tasks, ~[]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue