Replace the ringbuf with linked list queue in container/list package.
At first, I implemented a ring buffer directly in order to use a slightly optimized data structure.
However, there was no reason to believe that it would be faster than the linked list supported by the container/list package, so I replaced it.
Motivation
Replace the ringbuf with linked list queue in
container/list
package. At first, I implemented a ring buffer directly in order to use a slightly optimized data structure.However, there was no reason to believe that it would be faster than the linked list supported by the
container/list
package, so I replaced it.