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

Remove bunch of allocations from the builders #25

Merged
merged 2 commits into from
Jun 4, 2018
Merged

Conversation

pimeys
Copy link
Contributor

@pimeys pimeys commented Jun 3, 2018

This breaks the api a bit if somebody used Strings. Now we allocate a new string only when creating the result JSON. To have this I needed remove the implementation for Service trait to have somehow sane lifetime requirements for the Client. If anybody depended on the Service, I'm not merging this right away and need to think of something.

This should bump the version to 0.3.0 when released, but first we're running some tests how much faster we get with these changes.

h0x @dbrgn

@pimeys pimeys force-pushed the referring_api branch 2 times, most recently from 51ce741 to b209961 Compare June 4, 2018 07:30
@pimeys pimeys merged commit 8b605e1 into master Jun 4, 2018
@HarryET HarryET deleted the referring_api branch August 15, 2022 09:43
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