Uh oh!
There was an error while loading. Please reload this page.
Add specialization for deque1.prepend(deque2.drain(range)) (VecDeque::prepend and extend_front) - #150595
Conversation
rustbot
commented
Jan 2, 2026
b8b94d7 to
887bb5aCompareThis is used when moving elements between `VecDeque`s This pattern is also used in examples of `VecDeque::prepend`. (see its docs)
887bb5a to
7e425b8Comparejhpratt
commented
Jan 4, 2026
@bors r+ rollup=never |
bors
commented
Jan 4, 2026
bors
commented
Jan 4, 2026
bors
commented
Jan 4, 2026
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing e25ee6b (parent) -> f280e76 (this PR) Test differencesShow 4 test diffsStage 1
Stage 2
Additionally, 2 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard f280e764d51976d62da12033ddcbf72d0076a969 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
rust-timer
commented
Jan 4, 2026
Finished benchmarking commit (f280e76): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 473.697s -> 474.288s (0.12%) |
Tracking issue: #146975
This specialization makes sure
deque1.prepend(deque2.drain(..))gets similar speed todeque1.append(&mut deque2).deque1.prepend(deque2.drain(..))is the equivalent ofdeque1.append(&mut deque2)but appending to the front (see the second example of prepend, prepend is from the same tracking issue).