Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f22397dd
Commit
f22397dd
authored
Mar 28, 2014
by
antirez
Browse files
Use REDIS_HLL_REGISTER_MAX when possible.
parent
1c88c594
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hyperloglog.c
View file @
f22397dd
...
...
@@ -155,7 +155,7 @@
int _rightshift = 8 - _leftshift; \
target = ((_p[_byte] << _leftshift) | \
(_p[_byte+1] >> _rightshift)) & \
((1<<
REDIS_HLL_
BITS)-1)
; \
REDIS_HLL_
REGISTER_MAX
; \
} while(0)
/* Set the value of the register at position 'regnum' to 'val'.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment