mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 16:40:48 +03:00
rewrap
This commit is contained in:
parent
f46e52b4f2
commit
4a28601977
1 changed files with 4 additions and 5 deletions
|
@ -1564,11 +1564,10 @@ of the array over the slots to be removed. This way there is less data
|
||||||
movement to be done which improves the execution time of the function.
|
movement to be done which improves the execution time of the function.
|
||||||
|
|
||||||
The function $(D remove) works on bidirectional ranges that have assignable
|
The function $(D remove) works on bidirectional ranges that have assignable
|
||||||
lvalue elements. The moving
|
lvalue elements. The moving strategy is (listed from fastest to slowest):
|
||||||
strategy is (listed from fastest to slowest): $(UL $(LI If $(D s ==
|
$(UL $(LI If $(D s == SwapStrategy.unstable && isRandomAccessRange!Range &&
|
||||||
SwapStrategy.unstable && isRandomAccessRange!Range && hasLength!Range
|
hasLength!Range && hasLvalueElements!Range), then elements are moved from the
|
||||||
&& hasLvalueElements!Range), then elements are moved from the end
|
end of the range into the slots to be filled. In this case, the absolute
|
||||||
of the range into the slots to be filled. In this case, the absolute
|
|
||||||
minimum of moves is performed.) $(LI Otherwise, if $(D s ==
|
minimum of moves is performed.) $(LI Otherwise, if $(D s ==
|
||||||
SwapStrategy.unstable && isBidirectionalRange!Range && hasLength!Range
|
SwapStrategy.unstable && isBidirectionalRange!Range && hasLength!Range
|
||||||
&& hasLvalueElements!Range), then elements are still moved from the
|
&& hasLvalueElements!Range), then elements are still moved from the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue