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

fix(stdlib): Buffer.autogrow was making unnecessary intermediate resizes of the buffer. #1125

Merged
merged 2 commits into from
Feb 5, 2022

Conversation

cician
Copy link
Contributor

@cician cician commented Jan 23, 2022

In some cases Buffer.autogrow was making unnecessary intermediate resizes of the buffer. In particular when adding a big chunk of data at once.

@phated phated requested a review from a team January 23, 2022 22:10
Copy link
Contributor

@jozanza jozanza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. lgtm!

Copy link
Member

@ospencer ospencer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@ospencer ospencer merged commit c1695d0 into grain-lang:main Feb 5, 2022
@github-actions github-actions bot mentioned this pull request May 16, 2022
@github-actions github-actions bot mentioned this pull request May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants