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

optimize merge iterator #16

Merged
merged 1 commit into from
Jun 20, 2018
Merged

optimize merge iterator #16

merged 1 commit into from
Jun 20, 2018

Conversation

coocood
Copy link
Member

@coocood coocood commented Jun 20, 2018

The microbenchmark shows that the new merge iterator improved the performance

from
20694 ns/op
to
8509 ns/op
on merging 2 chilren iterators.

from
176898 ns/op
to
134595 ns/op
on merging 8 children iterators.

@coocood
Copy link
Member Author

coocood commented Jun 20, 2018

@ngaut PTAL

@ngaut ngaut merged commit 977f293 into master Jun 20, 2018
@ngaut ngaut deleted the merge-two-iterator branch June 20, 2018 09:57
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.

2 participants