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

Refactor code for Deque buffer resizing #13257

Merged
merged 8 commits into from
Apr 18, 2023

Conversation

HertzDevil
Copy link
Contributor

This refactor aligns the code for Deque buffer growth to that of Array after #13256 (that piece of code came after this refactor). The resizing policy is unchanged.

src/deque.cr Outdated Show resolved Hide resolved
src/deque.cr Show resolved Hide resolved
@straight-shoota straight-shoota added this to the 1.9.0 milestone Apr 9, 2023
@straight-shoota straight-shoota merged commit fbf2341 into crystal-lang:master Apr 18, 2023
@HertzDevil HertzDevil deleted the refactor/deque-resize branch April 18, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants