| ▲ | steveklabnik 14 hours ago | |||||||
The Rust version of this is "turn .iter() into .par_iter()." It's also true that for both, it's not always as easy as "just make the for loop parallel." Stylo is significantly more complex than that. > to this I sigh in chrome. I'm actually a Chrome user. Does Chrome do what Stylo does? I didn't think it did, but I also haven't really paid attention to the internals of any browsers in the last few years. | ||||||||
| ▲ | pjmlp 14 hours ago | parent | next [-] | |||||||
And the C++ version is add std::execution::par_unseq as parameter to the ranges algorithm. | ||||||||
| ||||||||
| ▲ | nurettin 13 hours ago | parent | prev [-] | |||||||
Afaik it does all styling and layout in the main thread and offloads drawing instructions to other threads (CompositorTileWorker) and it works fine? | ||||||||
| ||||||||