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

in consensus ordering avoid vector copying; build fix for g++-7 #333

Closed
wants to merge 0 commits into from

Conversation

iceseer
Copy link
Contributor

@iceseer iceseer commented Dec 28, 2019

Description of the Change

Minor optimizations. Remove several vector copyings.

Benefits

Consensus ordering function calls become little faster.

Possible Drawbacks

Copy link
Contributor

@MBoldyrev MBoldyrev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally, in a PR we try to do only one thing. or, if that seems too much hassle, the changes need to be at least related to a single global goal. this does not seem to be the case in this PR. It would be nice to at least split the commits.

Also, the code seems not formatted. Please consider running clang-format-7 with the config in the repo before opening a PR. I do it with help of a git hook

irohad/consensus/yac/impl/cluster_order.cpp Outdated Show resolved Hide resolved
irohad/consensus/yac/impl/cluster_order.cpp Outdated Show resolved Hide resolved
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.

None yet

2 participants