> From: Victor Toso
>
> Small refactor to make each code block a bit more obvious.
>
> This code should (1) find the @buffer in the queue; (2) remove all old
> elements from queue. That perfectly fit in two loops in sequence, but
> they don't need to be nested and they don't need to use the same
From: Victor Toso
Small refactor to make each code block a bit more obvious.
This code should (1) find the @buffer in the queue; (2) remove all old
elements from queue. That perfectly fit in two loops in sequence, but
they don't need to be nested and they don't need to use the same
pointer (gstf