Skip to content

Add in reserve_exact and truncate #9

@CosmicHorrorDev

Description

@CosmicHorrorDev

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions