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

Reduce string allocations from adapting source #619

merged 1 commit into from Jul 16, 2019


Copy link

@ashmaroli ashmaroli commented Jul 14, 2019

String#encode returns a copy of the given source string.
Subsequent operations on this copy can be made in place to avoid allocating intermediate strings.

@gettalong gettalong self-assigned this Jul 16, 2019
@gettalong gettalong merged commit 5ee3387 into gettalong:master Jul 16, 2019
1 check passed
Copy link

@gettalong gettalong commented Jul 16, 2019


@ashmaroli ashmaroli deleted the optimize-adapt-source branch Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants