mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
429e085611
Using split_off to split the front chunk from the queue seems like it'd be efficient, but it's not: https://github.com/rust-lang/rust/issues/127281 Instead, pass the range of nodes to distribute, and use VecDeque::from_iter in the callee. Then, just truncate() the queue to the remaining local work. Differential Revision: https://phabricator.services.mozilla.com/D215705 |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |