vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function RingBuffer.linearRemove

Removes elements from the buffer.

void linearRemove (
  RingBuffer.Range r
);

The argument to this method is a range of elements obtained by using the slice syntax (e.g. ringbuffer[1 .. 2]). Note that removing elements from the middle of an array is a O(n) operation.

Authors

Sönke Ludwig

Copyright

© 2013-2024 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.