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

msg/async: use bitset<> to do the popcnt #18681

Merged
merged 1 commit into from Nov 2, 2017

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Nov 2, 2017

libstdc++ uses popcnt to count the bits. it's faster and simpler.

Signed-off-by: Kefu Chai kchai@redhat.com

libstdc++ uses popcnt to count the bits. it's faster and simpler.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@yuyuyu101 yuyuyu101 merged commit 0ee9fd2 into ceph:master Nov 2, 2017
@tchaikov tchaikov deleted the wip-msg-async-popcnt branch November 2, 2017 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants