Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
87cc9486
Commit
87cc9486
authored
Mar 16, 2018
by
antirez
Browse files
Fix HyperLogLog test script for new redis-rb API.
parent
38bc8ea5
Changes
1
Show whitespace changes
Inline
Side-by-side
utils/hyperloglog/hll-err.rb
View file @
87cc9486
...
...
@@ -18,7 +18,7 @@ while true do
elements
<<
ele
i
+=
1
}
r
.
pfadd
(
'hll'
,
*
elements
)
r
.
pfadd
(
'hll'
,
elements
)
}
approx
=
r
.
pfcount
(
'hll'
)
abs_err
=
(
approx
-
i
).
abs
...
...
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