diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-06-21 16:40:02 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-06-21 16:40:02 +0300 |
commit | af31012815e20f0c92ed6ea803638a16ba47b0c2 (patch) | |
tree | 7bf29d5e7a5be42b176a99cc8dc64273dd1cc669 /src/ruby/nxt_ruby.c | |
parent | 14bc4013941d38740d10681e7d54711f95cb38c4 (diff) | |
download | unit-af31012815e20f0c92ed6ea803638a16ba47b0c2.tar.gz unit-af31012815e20f0c92ed6ea803638a16ba47b0c2.tar.bz2 |
More effective implementation of nxt_popcount().
This method requires as many iterations as there are set bits,
while the previous one has to shift up to the position of the
highest bit.
Diffstat (limited to 'src/ruby/nxt_ruby.c')
0 files changed, 0 insertions, 0 deletions