mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
geckolib: use a global thread pool for styling
By having a single thread pool, rather than one per document, we use less memory. This addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1324250.
This commit is contained in:
parent
469ed934e7
commit
3e81f8431e
5 changed files with 22 additions and 25 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -906,6 +906,7 @@ dependencies = [
|
|||
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num_cpus 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"parking_lot 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rayon 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"selectors 0.18.0",
|
||||
"servo_url 0.0.1",
|
||||
"style 0.0.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue