Skip to content

Removed usage of itertools #15

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

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

mvucenovic
Copy link
Contributor

@mvucenovic mvucenovic commented Oct 1, 2019

Itertools crate was used for ergonomic join on the iterator of strings. Changed this to use join on the vec of strings from the std lib, and dropped a dependency of the crate. Std lib join should even be more performant, since it preallocates the string length correctly, while itertools is doing the best effort it can.

Fixes #10

Itertools crate was used for ergonomic join on the iterator of strings.
Changed this to use join on the vec of strings from the std lib, and
droped a dependecy of the crate. Std lib join should even be more
performant, since it prealocates the string length correctly, while
itertools is doing the best effort it can.
@Empty2k12 Empty2k12 changed the title Removed usage of itertools #10 Removed usage of itertools Oct 1, 2019
@Empty2k12
Copy link
Collaborator

Thank you for this PR!
Please allow me two hours to conduct a review and come back to you!

@Empty2k12 Empty2k12 added this to the Release 0.0.5 milestone Oct 1, 2019
@Empty2k12 Empty2k12 merged commit fa4fb47 into influxdb-rs:master Oct 1, 2019
@Empty2k12
Copy link
Collaborator

@mvucenovic Thank you very much for your contribution. I hope you have a successful rest of Hacktoberfest. Stay Hacking.

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.

Get rid of itertools dependency
2 participants