VecDeque::split_off has unexpectedly poor performance characteristics when splitting off from the front. #127281
Labels
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
I tried this code:
I expected the
FAST
branch and theelse
branch to have comparable performance, instead it seemsVecDeque::split_off
from the front is much slower than expected (as one would expect of e.g.Vec::split_off
which needs to shift all the elements).The text was updated successfully, but these errors were encountered: