Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compact method and auto compacting configuration need to be supported in Deque #92

Open
zrwusa opened this issue Aug 26, 2024 · 0 comments

Comments

@zrwusa
Copy link
Owner

zrwusa commented Aug 26, 2024

Is your feature request related to a problem? Please describe.
Similar to a Queue, this Deque manages elements and marks the starting position through bucket management to accelerate operations on the front elements of the dynamic array. Since its design philosophy is to trade space for time, it also requires manual or automatic space release to avoid memory usage issues.

Describe the solution you'd like
Therefore, it's necessary to add an autoCompact option in the configuration. Additionally, a manual compression method compact is also supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant