mirror of
https://github.com/servo/servo.git
synced 2025-07-15 19:33:46 +01:00
In layout, some parts of the code were still using parallel iterators from Rayon even when single-thread layout was activated. This change modifies those parts to use non-parallel iterators when `LayoutContext::use_rayon` is not active. Testing: It's very hard to make an automated test for this, but I've manually verified this by building with tracing and observing that layout runs only on a single thread now when loading https://servo.org. Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
geom.rs | ||
layout.rs | ||
mod.rs |