|
|
|
|
|
by ridiculous_fish
1764 days ago
|
|
Oof, I have no desire to spark a language war. Every language has its warts for sure. It seems strange to not provide slice.erase as a primitive operation, and instead to recommend implementing it in terms of append. Usually removing from a vector does not require allocation. Still it may be for the best with upcoming generics, fewer builtins is good. |
|