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

Added capacity to slice creation, when capacity is known

Merged
merged 1 commit into from Aug 30, 2019

Conversation

vivekv96
Copy link
Contributor

@vivekv96 vivekv96 commented Aug 27, 2019

Simple optimisation to reduce memory allocations and copying(while appending).

Copy link
Member

@fharding1 fharding1 left a comment

LGTM

Copy link
Member

@elithrar elithrar left a comment

Thanks @vivekv96!

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.

None yet

3 participants