Adding in reserve_exact and truncate would allow the circular queue to be resized. This behavior was brought up in cjbassi/ytop#96 where circular-queue would be a good choice: however, resizing would be required and the most ergonimic way I can find to do this would be to create a new circular queue and copying over all the old elements.
Would you be open to reserve_exact and truncate being added?
Adding in
reserve_exactandtruncatewould allow the circular queue to be resized. This behavior was brought up in cjbassi/ytop#96 wherecircular-queuewould be a good choice: however, resizing would be required and the most ergonimic way I can find to do this would be to create a new circular queue and copying over all the old elements.Would you be open to
reserve_exactandtruncatebeing added?