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

New takes one optional arg to set base capacity. #30

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

gammazero
Copy link
Owner

@gammazero gammazero commented Nov 14, 2024

  • Added Grow function to ensure enough space for n additional items.
  • Replace SetMinCapacity with SetBaseCapacity

@gammazero gammazero merged commit 632e04b into master Nov 14, 2024
2 checks passed
@gammazero gammazero deleted the new-base-capacity branch November 14, 2024 07:28
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

Successfully merging this pull request may close these issues.

1 participant