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

use strings.Builder for url building #231

Merged
merged 2 commits into from Mar 27, 2019
Merged

use strings.Builder for url building #231

merged 2 commits into from Mar 27, 2019

Conversation

kpacha
Copy link
Member

@kpacha kpacha commented Mar 27, 2019

this PR uses strings.Builder instead of custom building strategies at the balancer middleware.

since the release of the 1.10 version of the go language introduced the strings.Builder struct, its performance has been improved and tests say it's time to adopt this implementation.

The changes introduced in this PR reduce the number and the size of the required memory allocations requested by this mw, relaxing the memory gc requirements

Captura de pantalla 2019-03-27 a las 2 14 17

@kpacha kpacha added this to the 0.8.1 milestone Mar 27, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.734% when pulling 65b55a3 on stringbuilder into 449bd3b on master.

@kpacha kpacha merged commit 0f56251 into master Mar 27, 2019
@kpacha kpacha deleted the stringbuilder branch March 27, 2019 02:04
@github-actions
Copy link

github-actions bot commented Apr 7, 2022

This pull request was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants